linux/drivers/gpu/drm/amd/display
Ivan Lipski d8f6c978fd 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>
2026-02-23 14:39:31 -05:00
..
amdgpu_dm drm/amd/display: Enable dcn42 in DM 2026-02-23 14:28:33 -05:00
dc drm/amd/display: Fix cursor pos at overlay plane edges on DCN4 2026-02-23 14:39:31 -05:00
dmub drm/amd/display: Enable dcn42 DMUB 2026-02-23 14:28:33 -05:00
include drm/amd/display: Implement BIOS parser external encoder control 2026-02-23 14:28:32 -05:00
modules Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
Kconfig drm/amd/display: add CEC notifier to amdgpu driver 2025-01-10 11:58:57 -05:00
Makefile drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps 2025-08-29 10:14:02 -04:00