diff options
| author | Michel Dänzer <mdaenzer@redhat.com> | 2023-09-12 12:22:24 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-28 15:38:30 -0400 |
| commit | 003048ddf44b1a6cfa57afa5a0cf40673e13f1ba (patch) | |
| tree | 6ea21e8a6eabb31bb251008ba9c84e27fad4bbe0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a2830b9e852f4007f7ee53f2c5765ab07ddb55e2 (diff) | |
| download | linux-003048ddf44b1a6cfa57afa5a0cf40673e13f1ba.tar.gz linux-003048ddf44b1a6cfa57afa5a0cf40673e13f1ba.zip | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
