diff options
| author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2026-05-04 21:24:01 +0300 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2026-06-02 21:41:12 +0200 |
| commit | 6a2f7339191b652f7ff998595df90987b33c3fda (patch) | |
| tree | 2d6b5d7a6698289c9a20c626e83f1e405e06b6df /tools/perf/scripts/python/task-analyzer.py | |
| parent | d1ad644e572c0647ad8428439eafea0aacfccf9e (diff) | |
drm/rockchip: vop2: Delay old_{layer|port}_sel updates in setup_layer_mixer()
The old_layer_sel and old_port_sel local variables were introduced to
hold the previous VP configuration for comparisons and wait targets,
working around the premature update of vop2->old_layer_sel and
vop2->old_port_sel earlier in the function.
Remove these superfluous locals and instead defer the assignments of
vop2->old_layer_sel and vop2->old_port_sel to just before the
corresponding shadow register writes, where the transition from old to
new logically belongs.
No functional change intended.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260504-vop2-layer-cfg-tmout-v1-3-730226a7331e@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
