]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Avoid force minimal transaction in case of surface_count equal to 0
authorJeromeHong <jerome.hong@amd.com>
Thu, 25 Aug 2022 07:52:11 +0000 (15:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:00 +0000 (14:33 -0400)
commit10f2c90950d80c987289c2448d361df683c342df
tree33bb0a820381c60a54310a42710c159e941cecd9
parentd879b8b258c8b8de0ec05220b34048146df6d660
drm/amd/display: Avoid force minimal transaction in case of surface_count equal to 0

[why]
Call commit_minimal_transition_state wrongly in case of surface_count
equal to 0.

[how]
Add a condition to filter case of surface_count equal to 0.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: JeromeHong <jerome.hong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c