summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTomasz Siemek <tomasz.siemek@amd.com>2026-09-02 20:40:41 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-09-17 11:38:25 -0400
commit20d78472ee2eb3981f37c1dd673af5b8f64245fd (patch)
treef07112d760aea0668e9cef0c270b1344c4e10976 /tools/lib/python
parentb737b18b25076fa73815ad846a2416153118ab06 (diff)
drm/amd/display: Decouple HUBP_UPDATE_PLANE_ADDR from pipe_ctx
[Why] Every HWSS Block Level Sequence operation should have flat parameter list and an explicit instance pointer. Global state should not be accessed at execute time. HUBP_UPDATE_PLANE_ADDR does not adhere. It stashes pipe_ctx in its params. Pipe context is mutated during execution. [How] - Adjust HUBP_UPDATE_PLANE_ADDR params to hubp_program_surface_flip_and_addr parameter list. - Add a build-phase hwss vtable entry - prepare_plane_addr_update that does parameter preparation and all global state mutation. - Execute hubp_program_surface_flip_and_addr with precalculated parameters during execution phase. Reviewed-by: Rafal Ostrowski <rafal.ostrowski@amd.com> Signed-off-by: Tomasz Siemek <tomasz.siemek@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/lib/python')
0 files changed, 0 insertions, 0 deletions