diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-08-21 16:39:38 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-08-31 15:17:58 +0200 |
| commit | 1cfa8f220b9eb02255d2ae9a8d066578ff56fdc5 (patch) | |
| tree | 3d5a92690023a9da10fc19e1cc071c38845e7951 /tools/perf/scripts/python | |
| parent | 27181e56118be6507b9bf5822426bca2739e2658 (diff) | |
| download | linux-1cfa8f220b9eb02255d2ae9a8d066578ff56fdc5.tar.gz linux-1cfa8f220b9eb02255d2ae9a8d066578ff56fdc5.zip | |
drm/rockchip: vop2: Convert to atomic_create_state
The rockchip vop2 crtc implementation provides a custom reset hook.
However, this hook only allocates the state, initializes it with
__drm_atomic_helper_crtc_reset(), 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: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260821-drm-no-more-crtc-reset-v1-62-fb793475c05a@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
