summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-06 11:31:25 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-07 14:39:46 -0400
commit7df68b484b2cdfc8bcfa3c6d11c692867dc08cbc (patch)
treec1450c72bad7572167bc21856962866092d3dbb1 /src/lib
parente8754ee9d2c68f616eb7e5e9e9a79488c6e70336 (diff)
ecore-drm: Cleanup plane debug output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c32
1 files 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 2e91909893..32249cbb14 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)
740 if (!prop) continue; 740 if (!prop) continue;
741 741
742 if (!strcmp(prop->name, "type")) 742 if (!strcmp(prop->name, "type"))
743 { 743 type = props->prop_values[j];
744 type = props->prop_values[j];
745 DBG("\tType: %d", type);
746 for (k = 0; k < prop->count_enums; k++)
747 {
748 DBG("\t\t%s=%llu", prop->enums[k].name,
749 prop->enums[k].value);
750 }
751 }
752 744
753 drmModeFreeProperty(prop); 745 drmModeFreeProperty(prop);
754 } 746 }
@@ -787,27 +779,7 @@ _ecore_drm_output_planes_get(Ecore_Drm_Device *dev)
787 (1LL << prop->enums[k].value)); 779 (1LL << prop->enums[k].value));
788 } 780 }
789 781
790 if (!strcmp(prop->name, "rotation")) 782 DBG("\t\tValue: %"PRIu64, props->prop_values[j]);
791 {
792 DBG("\t\tSupported Rotations:");
793 for (k = 0; k < prop->count_enums; k++)
794 {
795 if (!strcmp(prop->enums[k].name, "rotate-0"))
796 DBG("\t\t\tRotate 0");
797 else if (!strcmp(prop->enums[k].name, "rotate-90"))
798 DBG("\t\t\tRotate 90");
799 else if (!strcmp(prop->enums[k].name, "rotate-180"))
800 DBG("\t\t\tRotate 180");
801 else if (!strcmp(prop->enums[k].name, "rotate-270"))
802 DBG("\t\t\tRotate 270");
803 else if (!strcmp(prop->enums[k].name, "reflect-x"))
804 DBG("\t\t\tReflect X");
805 else if (!strcmp(prop->enums[k].name, "reflect-y"))
806 DBG("\t\t\tReflect Y");
807 else
808 DBG("\t\t\t%s", prop->enums[k].name);
809 }
810 }
811 783
812 drmModeFreeProperty(prop); 784 drmModeFreeProperty(prop);
813 } 785 }