]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Add cursor offload abort to the new HWSS path
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 11 Nov 2025 18:39:52 +0000 (13:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 16:34:26 +0000 (11:34 -0500)
commitf7352d10f851353516ac670b22fcf2272cdc8c45
tree157794e7eee906de66d19a4c573683876a0f3192
parenta76d6f2c76c3abac519ba753e2723e6ffe8e461c
drm/amd/display: Add cursor offload abort to the new HWSS path

[HOW]
If cursor attributes or position are passed into DC via a stream update
and we take the newer HWSS paths then it's possible that the update
races with cursor offloading if it's enabled.

This can cause the cursor to remain on the screen if no further updates
come in if it results in HW cursor support being disabled.

[HOW]
Add the abort into the HWSS path so that cursor offloading doesn't
attempt to reprogram the cursor with outdated params.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h