]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix black screen when disabling Freesync in OSD
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Thu, 9 Jun 2022 22:45:04 +0000 (18:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 20:50:29 +0000 (16:50 -0400)
commit9b75b914eec251298207164025c1bd51a33a0039
tree44217e1f7d2a7326f99b89e87f2605cb0621caec
parentfc56bdc1e701b5270a50478981c431c78b865aa8
drm/amd/display: Fix black screen when disabling Freesync in OSD

[Why]
Black screen encountered when disabling Freesync through OSD on some
displays.

[How]
Set the should_disable flag when new top pipe has no plane state to
ensure that pipes get cleaned up.

Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c