]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix surface optimization regression on Carrizo
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 12 Oct 2021 14:04:03 +0000 (10:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Oct 2021 18:14:34 +0000 (14:14 -0400)
commit0a948bdad8c3840fd6b9515d7e1d7a00ed08f730
tree1b565672533a531cbd862241ffbdb822bf75b70e
parent82a5d23c69144996169846b9157f00a127913a03
drm/amd/display: Fix surface optimization regression on Carrizo

[Why]
DCE legacy optimization path isn't well tested under new DC optimization
flow which can result in underflow occuring when initializing X11 on
Carrizo.

[How]
Retain the legacy optimization flow for DCE and keep the new one for DCN
to satisfy optimizations being correctly applied for ASIC that can
support it.

Fixes: 5fc9c35532de59 ("drm/amd/display: Optimize bandwidth on following fast update")
Reported-by: Tom St Denis <tom.stdenis@amd.com>
Tested-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c