2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/display/dc/dpp
Aric Cyr 024771f3fb drm/amd/display: Optimize cursor position updates
[why]
Updating the cursor enablement register can be a slow operation and accumulates
when high polling rate cursors cause frequent updates asynchronously to the
cursor position.

[how]
Since the cursor enable bit is cached there is no need to update the
enablement register if there is no change to it.  This removes the
read-modify-write from the cursor position programming path in HUBP and
DPP, leaving only the register writes.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Sung Lee <sung.lee@amd.com>
Signed-off-by: Aric Cyr <Aric.Cyr@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-01-24 09:56:28 -05:00
..
dcn10 drm/amd/display: Optimize cursor position updates 2025-01-24 09:56:28 -05:00
dcn20 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn30 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn32 drm/amd/display: Remove unnecessary files 2024-04-30 09:52:21 -04:00
dcn35 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn201 drm/amd/display: Remove unnecessary files 2024-04-30 09:52:21 -04:00
dcn401 drm/amd/display: Optimize cursor position updates 2025-01-24 09:56:28 -05:00
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00