diff options
| author | Aric Cyr <[email protected]> | 2024-12-10 23:38:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-01-24 14:56:28 +0000 |
| commit | 024771f3fb75dc817e9429d5763f1a6eb84b6f21 (patch) | |
| tree | 576bb35ad795b9f5223fabae4542ba5fd719c7e1 /lib/timerqueue.c | |
| parent | drm/amd/display: Add hubp cache reset when powergating (diff) | |
| download | kernel-024771f3fb75dc817e9429d5763f1a6eb84b6f21.tar.gz kernel-024771f3fb75dc817e9429d5763f1a6eb84b6f21.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Sung Lee <[email protected]>
Signed-off-by: Aric Cyr <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
