aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_plane.c
diff options
context:
space:
mode:
authorBenoit Parrot <[email protected]>2021-11-17 14:19:25 +0000
committerTomi Valkeinen <[email protected]>2021-12-08 08:04:43 +0000
commit6e42201b0ed5d3af66c107144fcd96c17afbc6f1 (patch)
treefebd217534bc4515d884aa565ca9628ccdc96f98 /drivers/gpu/drm/omapdrm/omap_plane.c
parentdrm/omap: omap_plane: subclass drm_plane_state (diff)
downloadkernel-6e42201b0ed5d3af66c107144fcd96c17afbc6f1.tar.gz
kernel-6e42201b0ed5d3af66c107144fcd96c17afbc6f1.zip
drm/omap: Add global state as a private atomic object
Global shared resources (like hw overlays) for omapdrm are implemented as a part of atomic state using the drm_private_obj infrastructure available in the atomic core. omap_global_state is introduced as a drm atomic private object. The two funcs omap_get_global_state() and omap_get_existing_global_state() are the two variants that will be used to access omap_global_state. drm_mode_config_init() needs to be called earlier because it creates/initializes the private_obj link list maintained by the atomic framework. The private_obj link list has to exist prior to calling drm_atomic_private_obj_init(). Similarly the cleanup handler are reordered appropriately. Signed-off-by: Benoit Parrot <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions