]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix 10bit 4K display on CIK GPUs
authorLiviu Dudau <liviu@dudau.co.uk>
Wed, 14 Jul 2021 08:06:52 +0000 (09:06 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Jul 2021 18:19:09 +0000 (14:19 -0400)
commit8c984886fc67a964e697ae696d8283516583879d
tree8d6f629e0efe5b248564bf903ffdf4af315fff0f
parent64b176a8b441d941afd807c94b36499f84d0ea7e
drm/amd/display: Fix 10bit 4K display on CIK GPUs

Commit 53d5aaac1ae9 ("drm/amd/display: Keep linebuffer pixel depth at
30bpp for DCE-11.0.") doesn't seems to have fixed 10bit 4K rendering over
DisplayPort for CIK GPUs. On my machine with a HAWAII GPU I get a broken
image that looks like it has an effective resolution of 1920x1080 but
scaled up in an irregular way. Reverting the commit or applying this
patch fixes the problem on v5.14-rc1.

Fixes: 53d5aaac1ae9 ("drm/amd/display: Keep linebuffer pixel depth at 30bpp for DCE-11.0.")
Acked-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Liviu Dudau <liviu@dudau.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c