diff options
author | Benoit Parrot <[email protected]> | 2021-11-17 15:19:25 +0100 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2021-12-08 10:04:43 +0200 |
commit | 6e42201b0ed5d3af66c107144fcd96c17afbc6f1 (patch) | |
tree | febd217534bc4515d884aa565ca9628ccdc96f98 /scripts/gdb/linux/tasks.py | |
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 <[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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions