diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-08-14 16:56:53 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-08-21 16:20:23 +0200 |
| commit | 0316901a73d8d28c759a3fc15054a70f34bc2c52 (patch) | |
| tree | 3192b971c1bf94acf7882bf9b7c342df73253038 /include | |
| parent | d5460f6a279b9fc7645b3b08aa45760ea324e56a (diff) | |
| download | linux-next-0316901a73d8d28c759a3fc15054a70f34bc2c52.tar.gz linux-next-0316901a73d8d28c759a3fc15054a70f34bc2c52.zip | |
drm/gem-atomic-helper: Switch DRM_GEM_SHADOW_PLANE_FUNCS to atomic_create_state
DRM_GEM_SHADOW_PLANE_FUNCS currently sets .reset to
drm_gem_reset_shadow_plane. Since
drm_gem_create_shadow_plane_state() now exists and only handles
pristine state allocation without conflating it with hardware or
suspend/resume reset, switch the macro to use .atomic_create_state
instead.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260814-drm-no-more-plane-reset-v2-4-82d2963dd134@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_gem_atomic_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_gem_atomic_helper.h b/include/drm/drm_gem_atomic_helper.h index 8a3bb27233db..da8a4fb442b4 100644 --- a/include/drm/drm_gem_atomic_helper.h +++ b/include/drm/drm_gem_atomic_helper.h @@ -110,7 +110,7 @@ void drm_gem_destroy_shadow_plane_state(struct drm_plane *plane, * macro initializes struct drm_plane_funcs to use the rsp helper functions. */ #define DRM_GEM_SHADOW_PLANE_FUNCS \ - .reset = drm_gem_reset_shadow_plane, \ + .atomic_create_state = drm_gem_create_shadow_plane_state, \ .atomic_duplicate_state = drm_gem_duplicate_shadow_plane_state, \ .atomic_destroy_state = drm_gem_destroy_shadow_plane_state |
