diff options
author | JeromeHong <jerome.hong@amd.com> | 2022-08-25 15:52:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-13 14:33:00 -0400 |
commit | b04fa59a51e80eae9883a419e41b1bf8179e5a42 (patch) | |
tree | 33bb0a820381c60a54310a42710c159e941cecd9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 34955a1e797d074e72d0ac6a514d934d8fe80da1 (diff) | |
download | linux-b04fa59a51e80eae9883a419e41b1bf8179e5a42.tar.gz linux-b04fa59a51e80eae9883a419e41b1bf8179e5a42.tar.bz2 linux-b04fa59a51e80eae9883a419e41b1bf8179e5a42.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions