summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorIvan Lipski <ivan.lipski@amd.com>2026-02-02 23:57:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-02-23 22:39:31 +0300
commitd8f6c978fd3d12ae129879dd1c514cec2e8cf2f8 (patch)
treebe275f6b6df01cde4f7b25a7ecb1fbf7d9573f19 /include/linux/workqueue.h
parentf44c094449669c7d9ac403cc73ce23e255f0828b (diff)
downloadlinux-d8f6c978fd3d12ae129879dd1c514cec2e8cf2f8.tar.xz
drm/amd/display: Fix cursor pos at overlay plane edges on DCN4
[Why&How] On DCN4, when cursor straddles the left/top edge of an overlay plane, the recout-relative position becomes negative. These negative values wrap to large positive numbers when cast to uint32_t, causing the cursor on the the overlay plane to disappear. Fix by adding hotspot adjustment and position clamping after the recout-relative calculation, matching the existing ODM/MPC slice boundary handling. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions