aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2022-01-04 10:45:41 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-01-11 15:44:28 -0500
commitdc5d4aff2e99c312df8abbe1ee9a731d2913bc1b (patch)
treea2c1ff5a103d1da6ff340b3ba5ee8f1ea4e6d2d1 /drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
parentdrm/amd/pm: only send GmiPwrDnControl msg on master die (v3) (diff)
downloadlinux-dev-dc5d4aff2e99c312df8abbe1ee9a731d2913bc1b.tar.xz
linux-dev-dc5d4aff2e99c312df8abbe1ee9a731d2913bc1b.zip
drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
For some reason this file isn't using the appropriate register headers for DCN headers, which means that on DCN2 we're getting the VIEWPORT_DIMENSION offset wrong. This means that we're not correctly carving out the framebuffer memory correctly for a framebuffer allocated by EFI and therefore see corruption when loading amdgpu before the display driver takes over control of the framebuffer scanout. Fix this by checking the DCE_HWIP and picking the correct offset accordingly. Long-term we should expose this info from DC as GMC shouldn't need to know about DCN registers. Cc: stable@vger.kernel.org Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c')
0 files changed, 0 insertions, 0 deletions