summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorAric Cyr <Aric.Cyr@amd.com>2024-12-11 02:38:15 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-01-24 17:56:28 +0300
commit024771f3fb75dc817e9429d5763f1a6eb84b6f21 (patch)
tree576bb35ad795b9f5223fabae4542ba5fd719c7e1 /tools/perf/scripts/python/parallel-perf.py
parent01130f5260e5868fb6b15ab8c00dbc894139f48e (diff)
downloadlinux-024771f3fb75dc817e9429d5763f1a6eb84b6f21.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions