summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAric Cyr <Aric.Cyr@amd.com>2024-12-10 18:38:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-01-06 14:44:27 -0500
commit787e7be0c9fb1202124dd3f2dea0d39738f91bee (patch)
treec0b8ca44eb57fd8d7470521e6ad6876aaa090425 /tools/perf/scripts/python
parentde5d7a8802eac4e22ed95d2d959907ebc4aad3ac (diff)
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. Reviewed-by: Josip Pavic <josip.pavic@amd.com> Signed-off-by: Aric Cyr <Aric.Cyr@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions