ecore-drm2: Update printf format to match changed value type

Commit 8e0c4d83ed changed the atomic property value type to be
uint64_t so we need to update the printf's to reflect that
This commit is contained in:
Christopher Michael 2019-04-18 09:07:17 -04:00
parent 2aaca58de0
commit 5fe11b2dbf
1 changed files with 8 additions and 8 deletions

View File

@ -266,7 +266,7 @@ _drm2_atomic_state_crtc_fill(Ecore_Drm2_Crtc_State *cstate, int fd)
{
cstate->active.id = prop->prop_id;
cstate->active.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", cstate->active.value);
DBG("\t\t\tValue: %lu", cstate->active.value);
}
else if (!strcmp(prop->name, "BACKGROUND_COLOR"))
{
@ -307,13 +307,13 @@ _drm2_atomic_state_conn_fill(Ecore_Drm2_Connector_State *cstate, int fd)
{
cstate->crtc.id = prop->prop_id;
cstate->crtc.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", cstate->crtc.value);
DBG("\t\t\tValue: %lu", cstate->crtc.value);
}
else if (!strcmp(prop->name, "DPMS"))
{
cstate->dpms.id = prop->prop_id;
cstate->dpms.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", cstate->dpms.value);
DBG("\t\t\tValue: %lu", cstate->dpms.value);
}
else if (!strcmp(prop->name, "EDID"))
{
@ -348,13 +348,13 @@ _drm2_atomic_state_conn_fill(Ecore_Drm2_Connector_State *cstate, int fd)
{
cstate->aspect.id = prop->prop_id;
cstate->aspect.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", cstate->aspect.value);
DBG("\t\t\tValue: %lu", cstate->aspect.value);
}
else if (!strcmp(prop->name, "scaling mode"))
{
cstate->scaling.id = prop->prop_id;
cstate->scaling.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", cstate->scaling.value);
DBG("\t\t\tValue: %lu", cstate->scaling.value);
}
cont:
@ -392,13 +392,13 @@ _drm2_atomic_state_plane_fill(Ecore_Drm2_Plane_State *pstate, int fd)
{
pstate->cid.id = prop->prop_id;
pstate->cid.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", pstate->cid.value);
DBG("\t\t\tValue: %lu", pstate->cid.value);
}
else if (!strcmp(prop->name, "FB_ID"))
{
pstate->fid.id = prop->prop_id;
pstate->fid.value = oprops->prop_values[i];
DBG("\t\t\tValue: %d", pstate->fid.value);
DBG("\t\t\tValue: %lu", pstate->fid.value);
}
else if (!strcmp(prop->name, "CRTC_X"))
{
@ -456,7 +456,7 @@ _drm2_atomic_state_plane_fill(Ecore_Drm2_Plane_State *pstate, int fd)
DBG("\t\t\tCursor Plane");
break;
default:
DBG("\t\t\tValue: %d", pstate->type.value);
DBG("\t\t\tValue: %lu", pstate->type.value);
break;
}
}