devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7df68b484b2cdfc8bcfa3c6d11c692867dc08cbc

commit 7df68b484b2cdfc8bcfa3c6d11c692867dc08cbc
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed May 6 11:31:25 2015 -0400

    ecore-drm: Cleanup plane debug output
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_output.c | 32 ++------------------------------
 1 file changed, 2 insertions(+), 30 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 2e91909..32249cb 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -740,15 +740,7 @@ _ecore_drm_output_planes_get(Ecore_Drm_Device *dev)
              if (!prop) continue;
 
              if (!strcmp(prop->name, "type"))
-               {
-                  type = props->prop_values[j];
-                  DBG("\tType: %d", type);
-                  for (k = 0; k < prop->count_enums; k++)
-                    {
-                       DBG("\t\t%s=%llu", prop->enums[k].name,
-                           prop->enums[k].value);
-                    }
-               }
+               type = props->prop_values[j];
 
              drmModeFreeProperty(prop);
           }
@@ -787,27 +779,7 @@ _ecore_drm_output_planes_get(Ecore_Drm_Device *dev)
                         (1LL << prop->enums[k].value));
                }
 
-             if (!strcmp(prop->name, "rotation"))
-               {
-                  DBG("\t\tSupported Rotations:");
-                  for (k = 0; k < prop->count_enums; k++)
-                    {
-                       if (!strcmp(prop->enums[k].name, "rotate-0"))
-                         DBG("\t\t\tRotate 0");
-                       else if (!strcmp(prop->enums[k].name, "rotate-90"))
-                         DBG("\t\t\tRotate 90");
-                       else if (!strcmp(prop->enums[k].name, "rotate-180"))
-                         DBG("\t\t\tRotate 180");
-                       else if (!strcmp(prop->enums[k].name, "rotate-270"))
-                         DBG("\t\t\tRotate 270");
-                       else if (!strcmp(prop->enums[k].name, "reflect-x"))
-                         DBG("\t\t\tReflect X");
-                       else if (!strcmp(prop->enums[k].name, "reflect-y"))
-                         DBG("\t\t\tReflect Y");
-                       else
-                         DBG("\t\t\t%s", prop->enums[k].name);
-                    }
-               }
+             DBG("\t\tValue: %"PRIu64, props->prop_values[j]);
 
              drmModeFreeProperty(prop);
           }

-- 


Reply via email to