diff options
author | Benoit Parrot <bparrot@ti.com> | 2021-11-17 15:19:25 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2021-12-08 10:04:43 +0200 |
commit | 6e42201b0ed5d3af66c107144fcd96c17afbc6f1 (patch) | |
tree | febd217534bc4515d884aa565ca9628ccdc96f98 /drivers/nvdimm | |
parent | 3c265d928b85a0ec8aa4aea9aab89efd201bd2ae (diff) |
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 <bparrot@ti.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211117141928.771082-7-narmstrong@baylibre.com
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions