diff options
| author | 2026-08-14 16:56:51 +0200 | |
|---|---|---|
| committer | 2026-08-21 16:20:21 +0200 | |
| commit | 3dcb0564c509c43787f265fad11a52f1f9c8c86a (patch) | |
| tree | b7e646784372a541bb5adae114be88a6500c9a34 /scripts/Makefile.thinlto | |
| parent | drm/simple-kms: Add create_plane_state hook (diff) | |
drm/gem-atomic-helper: Create drm_gem_create_shadow_plane_state()
The GEM shadow-plane helpers only expose reset functions
(drm_gem_reset_shadow_plane and __drm_gem_reset_shadow_plane) that
handle both the initial state allocation and the reset path. The new
atomic_create_state hook requires a function that only allocates and
initializes a pristine state without any side effect.
Create __drm_gem_shadow_plane_state_init() to initialize a
pre-allocated shadow plane state, and
drm_gem_create_shadow_plane_state() to allocate and initialize one
from scratch.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260814-drm-no-more-plane-reset-v2-2-82d2963dd134@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
