ecore-drm: Add edid structure to Ecore_Drm_Output
authorChris Michael <cp.michael@samsung.com>
Wed, 4 Mar 2015 19:52:04 +0000 (14:52 -0500)
committerChris Michael <cp.michael@samsung.com>
Wed, 4 Mar 2015 19:52:04 +0000 (14:52 -0500)
Summary: This adds an edid substructure to Ecore_Drm_Output so that
when we parse out EDID information, we have a place to store it

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_private.h

index cd2b6fe..7b8e4f1 100644 (file)
@@ -116,7 +116,7 @@ struct _Ecore_Drm_Output
    drmModeCrtcPtr crtc;
    Eeze_Udev_Watch *watch;
 
-   int x, y;
+   int x, y, phys_width, phys_height;
    int drm_fd;
 
    Eina_Bool need_repaint : 1;
@@ -131,6 +131,14 @@ struct _Ecore_Drm_Output
    Ecore_Drm_Output_Mode *current_mode;
    Eina_List *modes;
 
+   struct
+     {
+        char eisa[13];
+        char monitor[13];
+        char pnp[5];
+        char serial[13];
+     } edid;
+
    Ecore_Drm_Fb *current, *next;
    Ecore_Drm_Fb *dumb[NUM_FRAME_BUFFERS];
    Ecore_Drm_Backlight *backlight;