]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Keep linebuffer pixel depth at 30bpp for DCE-11.0.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Wed, 2 Jun 2021 20:45:56 +0000 (22:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 16:40:01 +0000 (12:40 -0400)
commit3675af79016e24408e5e235203b63a28fd7d370e
treedbe9b7c5067d86eb324eb64474ca749d787be02b
parent1989b10db424b606ceddc944e71f62b396c72856
drm/amd/display: Keep linebuffer pixel depth at 30bpp for DCE-11.0.

Testing on AMD Carizzo with DCE-11.0 display engine showed that
it doesn't like a 36 bpp linebuffer very much. The display just
showed a solid green.

Testing on RavenRidge DCN-1.0, Polaris11 with DCE-11.2 and Kabini
with DCE-8.3 did not expose any problems, so for now only revert
to 30 bpp linebuffer depth on asics with DCE-11.0 display engine.

Fixes: 3398ed4a9e2c6f ("drm/amd/display: Increase linebuffer pixel depth to 36bpp.")
Reported-by: Tom StDenis <Tom.StDenis@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c