summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2023-07-17 14:30:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 17:14:21 -0400
commit983ac45a06aec8987755c921aa53e81e6a69fb78 (patch)
tree1a50f7c9dce429c574dcb9f62081c88b25be60a5 /drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c
parenteebb06d121dfa611f0f0896b408f98828ab006b1 (diff)
downloadlinux-983ac45a06aec8987755c921aa53e81e6a69fb78.tar.gz
linux-983ac45a06aec8987755c921aa53e81e6a69fb78.tar.bz2
linux-983ac45a06aec8987755c921aa53e81e6a69fb78.zip
drm/amdgpu: update SET_HW_RESOURCES definition for UMSCH
Align with FW changes. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c b/drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c
index d3dec5f21bec..67164991f541 100644
--- a/drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c
@@ -279,6 +279,9 @@ static int umsch_mm_v4_0_set_hw_resources(struct amdgpu_umsch_mm *umsch)
sizeof(uint32_t) * 5);
set_hw_resources.osssys_version = adev->ip_versions[OSSSYS_HWIP][0];
+ set_hw_resources.vcn_version = adev->ip_versions[VCN_HWIP][0];
+ set_hw_resources.vpe_version = adev->ip_versions[VPE_HWIP][0];
+
set_hw_resources.api_status.api_completion_fence_addr = umsch->ring.fence_drv.gpu_addr;
set_hw_resources.api_status.api_completion_fence_value = ++umsch->ring.fence_drv.sync_seq;