summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Lin <pinglei.lin@amd.com>2026-08-28 10:13:33 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-09-17 11:38:26 -0400
commit123f78c8fa9c16d58c19c6f74152026addfc021b (patch)
treeac762230132e7789e4880fe0f82358817b61616b /tools/perf/scripts/python
parente3fe350998e2a4dc35f5af9df83baac46124e6ba (diff)
downloadlinux-123f78c8fa9c16d58c19c6f74152026addfc021b.tar.gz
linux-123f78c8fa9c16d58c19c6f74152026addfc021b.zip
drm/amd/display: Attach only plane updates that actually changed
[Why & How] Cache the last programmed dc_flip_addrs/dc_plane_info/dc_scaling_info in dm_plane_state and carry them across atomic_duplicate_state. In amdgpu_dm_commit_planes() attach each flip_addr/plane_info/scaling_info surface update only when it differs from the cache (memcmp), so an address-only flip sends no plane_info/scaling_info update and stays on the FAMS2 offload path. Reviewed-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: James Lin <pinglei.lin@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@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