diff options
| author | Rafal Ostrowski <rafal.ostrowski@amd.com> | 2026-09-09 11:12:47 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 14:17:46 -0400 |
| commit | 4040f1c11cb1c3300fcd0a3f7c72c84de24d7a1a (patch) | |
| tree | e19973089ae9b844cde050f794b8ddf149e3952b /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a3e8dc37a616db6fddbae80a83f95a3ac9a949a7 (diff) | |
| download | linux-4040f1c11cb1c3300fcd0a3f7c72c84de24d7a1a.tar.gz linux-4040f1c11cb1c3300fcd0a3f7c72c84de24d7a1a.zip | |
drm/amd/display: Drop pipe_ctx from hwss block sequence operations
[Why]
pipe_ctx is not allowed to reach a block sequence step. Several operations
still carried it into the executor, which then walked the logical state at
execute time (pipe_ctx->stream->timing, pipe_ctx->plane_state and similar)
instead of acting on data resolved during build.
[How]
Give each operation a flat parameter list holding only the hardware objects
and values the final hwss call needs, and change the matching hooks to take
it. The function pointer, the params struct, the executor, the builder
helpers and all call sites are updated together.
Operations covered:
- OPTC_PROGRAM_MANUAL_TRIGGER - takes tg
- HUBP_PROGRAM_TRIPLEBUFFER - program_triplebuffer takes (hubp, bool)
- DPP_SETUP_DPP, DPP_PROGRAM_BIAS_AND_SCALE - take (dpp, plane_state)
- DSC_ENABLE_WITH_OPP - takes (dsc, opp_inst)
- OPP_PROGRAM_BIT_DEPTH_REDUCTION - opp
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Rafal Ostrowski <rafal.ostrowski@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
