summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-27 15:44:22 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-05-05 12:53:21 -0500
commit308a11cfd680dd86005c9007cd92a7e930a2e323 (patch)
treeab99c923a373081eb15b437260e2f7e2d11edc1e /src/lib/ecore_drm2/ecore_drm2_private.h
parent7dd8d6d163f98d6dc706636e8ae62b29480c4201 (diff)
ecore_drm2: Assign planes in ecore_drm2_plane_assign
Don't just test, allocate the resource, and then prevent further assignments from trying to use it as well.
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index cdd19d5678..8d3b0a904e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -651,6 +651,8 @@ typedef struct _Ecore_Drm2_Plane_State
651 651
652 uint32_t num_formats; 652 uint32_t num_formats;
653 uint32_t *formats; 653 uint32_t *formats;
654
655 Eina_Bool in_use;
654} Ecore_Drm2_Plane_State; 656} Ecore_Drm2_Plane_State;
655 657
656struct _Ecore_Drm2_Atomic_State 658struct _Ecore_Drm2_Atomic_State