diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2023-10-02 16:16:49 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-04 18:38:35 -0400 |
commit | bc0b79ce2050aa523c38c96b6d26340a96bfbdca (patch) | |
tree | 2fef5f6ac964c42a1ec5db148c533e8b0b2e6af9 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 62e6a28684b21c1c575ddb14938859ba417287ab (diff) |
drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
If no plane was newly enabled or changed scaling, there can be no new
scaling mismatch with the cursor plane.
By not pulling non-cursor plane states into all atomic commits while
the cursor plane is enabled, this avoids synchronizing all cursor plane
changes to vertical blank, which caused the following IGT tests to fail:
kms_cursor_legacy@cursor-vs-flip.*
kms_cursor_legacy@flip-vs-cursor.*
Fixes: 003048ddf44b ("drm/amd/display: Check all enabled planes in dm_check_crtc_cursor")
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions