OSDN Git Service

drm/gem: Export implementation of shadow-plane helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 5 Jul 2021 07:46:30 +0000 (09:46 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jul 2021 11:30:58 +0000 (13:30 +0200)
commitb715650220311e50448cb499c71084ca8aeeeece
tree5572c7ce170d7fdf3082a2d3567620ef7e9e00e9
parent6293eb28913f4faa81aadf91693f20abb7ca97dd
drm/gem: Export implementation of shadow-plane helpers

Export the implementation of duplicate, destroy and reset helpers for
shadow-buffered plane state. Useful for drivers that subclass struct
drm_shadow_plane_state.

The exported functions are wrappers around plane-state implementation,
but using them is the correct thing to do for drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210705074633.9425-2-tzimmermann@suse.de
drivers/gpu/drm/drm_gem_atomic_helper.c
include/drm/drm_gem_atomic_helper.h