summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-04-19 14:56:27 -0400
committerChris Michael <cp.michael@samsung.com>2017-04-19 14:58:11 -0400
commitc4b22eb59c8003a2975b26186a818fc4f1aefb1b (patch)
tree86c57056e85237381b8cae9db46747ef9d635bba /src/lib/ecore_drm2/ecore_drm2_private.h
parent8eb1e925ae1abf6c58b26003435f07662bd381d9 (diff)
ecore-drm2: Iterate plane formats properly
This patch addresses an issue where plane formats were not being properly copied into our Plane State structure and causing any usage of our atomic code paths to crash and burn @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
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, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 7bc69bf460..73e61f2431 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -649,7 +649,7 @@ typedef struct _Ecore_Drm2_Plane_State
649 uint32_t supported_rotations; 649 uint32_t supported_rotations;
650 650
651 uint32_t num_formats; 651 uint32_t num_formats;
652 uint32_t formats[]; 652 uint32_t *formats;
653} Ecore_Drm2_Plane_State; 653} Ecore_Drm2_Plane_State;
654 654
655struct _Ecore_Drm2_Atomic_State 655struct _Ecore_Drm2_Atomic_State