summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2023-09-12 12:22:24 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-09-28 15:38:30 -0400
commit003048ddf44b1a6cfa57afa5a0cf40673e13f1ba (patch)
tree6ea21e8a6eabb31bb251008ba9c84e27fad4bbe0 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parenta2830b9e852f4007f7ee53f2c5765ab07ddb55e2 (diff)
drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
It was only checking planes which had any state changes in the same commit. However, it also needs to check other enabled planes. Not doing this meant that a commit might spuriously "succeed", resulting in the cursor plane displaying with incorrect scaling. See https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3177#note_1824263 for an example. Fixes: d1bfbe8a3202 ("amd/display: check cursor plane matches underlying plane") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> 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/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions