summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorYuling Li <Yuling.Li@amd.com>2026-09-01 15:37:18 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-09-02 17:02:04 -0400
commit6293f2e1439fb440be1b606e647ce88e65562a38 (patch)
tree1d30e839e24d61788fe8385b83d3278724e4322c /scripts/Makefile.thinlto
parent8b4a4193f3c0b532054990783f40930083c37618 (diff)
downloadlinux-6293f2e1439fb440be1b606e647ce88e65562a38.tar.gz
linux-6293f2e1439fb440be1b606e647ce88e65562a38.zip
drm/amd/display: Fix cursor disable with horizontally split planes
[WHY] resource_can_pipe_disable_cursor() disables the hardware cursor on a pipe when a higher layer fully covers that pipe's recout, to avoid double-cursor and scaling artifacts. When merging pipe-split halves of the same overlay layer, the inner loop walks every pipe above the current one and looks for siblings sharing test_pipe's layer_index. Because test_pipe itself satisfies that condition, it can be treated as its own split partner. That incorrectly doubles r2.width and makes the covering check succeed even when the overlay does not fully contain the underlying pipe. On horizontally split or multi-quadrant layouts this causes the cursor to disappear over overlay regions while input/coordinate mapping remains correct. [HOW] Skip test_pipe when searching for a pipe-split sibling on the same layer, so only the other half of the split plane is merged into r2. Signed-off-by: Yuling Li <yulingli@amd.com> Reviewed-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 85ccd2c39cca9351d4db393e24acea8bf943d350)
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions