diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-08-21 16:39:42 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-08-31 15:18:00 +0200 |
| commit | 56f115da1b7e862f62c79aee233acbe5918c6040 (patch) | |
| tree | 806ca3cf3286fcfb0ce53a9f56d33bf18c6975e3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9af077e68d4d82c9401cb9e034eb5d20929e7455 (diff) | |
| download | linux-56f115da1b7e862f62c79aee233acbe5918c6040.tar.gz linux-56f115da1b7e862f62c79aee233acbe5918c6040.zip | |
drm/vc4: Convert to atomic_create_state
The vc4 crtc implementation provides a custom reset hook. However,
this hook only allocates the state, initializes it with
__drm_atomic_helper_crtc_reset(), sets the assigned_channel field to
VC4_HVS_CHANNEL_DISABLED, and frees the previous state. It does not
perform any hardware reset.
Since this is exactly what the atomic_create_state hook is meant to
do, minus the old state cleanup which the caller handles, convert the
implementation to use atomic_create_state with
__drm_atomic_helper_crtc_state_init() instead.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260821-drm-no-more-crtc-reset-v1-66-fb793475c05a@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
