aboutsummaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2023-07-27 16:04:19 +0200
committerJavier Martinez Canillas <[email protected]>2023-07-27 17:44:41 +0200
commit8c3926367ac9df6c25297de2d1d06be34cfd6985 (patch)
tree0ae6539c94eaa35274b179ae9a3b4f64a9eaf85c /include/linux/start_kernel.h
parent7c5aa9485871f61d19ad2cecbf4904ea05a39ec4 (diff)
drm/ssd130x: Use shadow-buffer helpers when managing plane's state
The commit 45b58669e532 ("drm/ssd130x: Allocate buffer in the plane's .atomic_check() callback") moved the buffers allocation to be done in the primary plane's .atomic_check() callback. But it missed that since the driver uses a shadow-buffered plane, the __drm_gem_{reset,duplicate,destroy}_shadow_plane() helper functions must be used in the struct drm_plane_funcs handlers. This was missed because the mentioned commit did not remove the macro DRM_GEM_SHADOW_PLANE_FUNCS, which leads to the custom plane's atomic state management handlers to not be used. Fixes: 45b58669e532 ("drm/ssd130x: Allocate buffer in the plane's .atomic_check() callback") Reported-by: Arnd Bergmann <[email protected]> Closes: https://lore.kernel.org/dri-devel/[email protected] Suggested-by: Thomas Zimmermann <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions