ecore-drm: Cleanup plane debug output

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-05-06 11:31:25 -04:00
parent e8754ee9d2
commit 7df68b484b
1 changed files with 2 additions and 30 deletions

View File

@ -740,15 +740,7 @@ _ecore_drm_output_planes_get(Ecore_Drm_Device *dev)
if (!prop) continue; if (!prop) continue;
if (!strcmp(prop->name, "type")) if (!strcmp(prop->name, "type"))
{ type = props->prop_values[j];
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);
}
}
drmModeFreeProperty(prop); drmModeFreeProperty(prop);
} }
@ -787,27 +779,7 @@ _ecore_drm_output_planes_get(Ecore_Drm_Device *dev)
(1LL << prop->enums[k].value)); (1LL << prop->enums[k].value));
} }
if (!strcmp(prop->name, "rotation")) DBG("\t\tValue: %"PRIu64, props->prop_values[j]);
{
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);
}
}
drmModeFreeProperty(prop); drmModeFreeProperty(prop);
} }