diff options
| author | Rafal Ostrowski <rafal.ostrowski@amd.com> | 2026-05-07 11:17:30 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-17 11:38:27 -0400 |
| commit | 30ca154558c8aef2eb9bdc8a8e8fcd3e41b6ce7e (patch) | |
| tree | 9557db345d7133a8250d8266e1d951ac3b127772 /tools/perf/scripts/python/flamegraph.py | |
| parent | c615f0715b1493f5c241cd82bbe239c196a89a14 (diff) | |
| download | linux-30ca154558c8aef2eb9bdc8a8e8fcd3e41b6ce7e.tar.gz linux-30ca154558c8aef2eb9bdc8a8e8fcd3e41b6ce7e.zip | |
drm/amd/display: Unify fast update classification paths
[Why]
The dc_fast_update intermediate struct created code duplication and
complexity with multiple classification paths (populate_fast_updates,
fast_nonaddr_updates_exist, full_update_required). This refactoring
simplifies the update classification system by consolidating to a
single path while maintaining compatibility.
[How]
Remove entire dc_fast_update struct and associated helper functions:
- populate_fast_updates
- fast_nonaddr_updates_exist
- full_update_required
Refactor check_update_surfaces_for_stream as the
single classification path with explicit handling for func_shaper,
lut3d_func, cursor_csc_color_matrix_change, and
scaler_sharpener_update. Add a reserved bitfield to the
stream_update_flags union for completeness guards. Extract
dc_check_address_only_update and dc_check_update_surfaces_for_stream
as public.
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Rafal Ostrowski <rafal.ostrowski@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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
