summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-04-18 09:07:17 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-04-18 09:07:17 -0400
commit5fe11b2dbfdb6c74d4bdad6b59b760f5278f554a (patch)
tree6aec60cb50c98d39c888e120eb06b7602b1185e6 /src/lib/ecore_drm2
parent2aaca58de0889027239df45238c17f046685a9a3 (diff)
ecore-drm2: Update printf format to match changed value type
Commit 8e0c4d83edd changed the atomic property value type to be uint64_t so we need to update the printf's to reflect that
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 46d0f94119..c27deb8199 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -266,7 +266,7 @@ _drm2_atomic_state_crtc_fill(Ecore_Drm2_Crtc_State *cstate, int fd)
266 { 266 {
267 cstate->active.id = prop->prop_id; 267 cstate->active.id = prop->prop_id;
268 cstate->active.value = oprops->prop_values[i]; 268 cstate->active.value = oprops->prop_values[i];
269 DBG("\t\t\tValue: %d", cstate->active.value); 269 DBG("\t\t\tValue: %lu", cstate->active.value);
270 } 270 }
271 else if (!strcmp(prop->name, "BACKGROUND_COLOR")) 271 else if (!strcmp(prop->name, "BACKGROUND_COLOR"))
272 { 272 {
@@ -307,13 +307,13 @@ _drm2_atomic_state_conn_fill(Ecore_Drm2_Connector_State *cstate, int fd)
307 { 307 {
308 cstate->crtc.id = prop->prop_id; 308 cstate->crtc.id = prop->prop_id;
309 cstate->crtc.value = oprops->prop_values[i]; 309 cstate->crtc.value = oprops->prop_values[i];
310 DBG("\t\t\tValue: %d", cstate->crtc.value); 310 DBG("\t\t\tValue: %lu", cstate->crtc.value);
311 } 311 }
312 else if (!strcmp(prop->name, "DPMS")) 312 else if (!strcmp(prop->name, "DPMS"))
313 { 313 {
314 cstate->dpms.id = prop->prop_id; 314 cstate->dpms.id = prop->prop_id;
315 cstate->dpms.value = oprops->prop_values[i]; 315 cstate->dpms.value = oprops->prop_values[i];
316 DBG("\t\t\tValue: %d", cstate->dpms.value); 316 DBG("\t\t\tValue: %lu", cstate->dpms.value);
317 } 317 }
318 else if (!strcmp(prop->name, "EDID")) 318 else if (!strcmp(prop->name, "EDID"))
319 { 319 {
@@ -348,13 +348,13 @@ _drm2_atomic_state_conn_fill(Ecore_Drm2_Connector_State *cstate, int fd)
348 { 348 {
349 cstate->aspect.id = prop->prop_id; 349 cstate->aspect.id = prop->prop_id;
350 cstate->aspect.value = oprops->prop_values[i]; 350 cstate->aspect.value = oprops->prop_values[i];
351 DBG("\t\t\tValue: %d", cstate->aspect.value); 351 DBG("\t\t\tValue: %lu", cstate->aspect.value);
352 } 352 }
353 else if (!strcmp(prop->name, "scaling mode")) 353 else if (!strcmp(prop->name, "scaling mode"))
354 { 354 {
355 cstate->scaling.id = prop->prop_id; 355 cstate->scaling.id = prop->prop_id;
356 cstate->scaling.value = oprops->prop_values[i]; 356 cstate->scaling.value = oprops->prop_values[i];
357 DBG("\t\t\tValue: %d", cstate->scaling.value); 357 DBG("\t\t\tValue: %lu", cstate->scaling.value);
358 } 358 }
359 359
360cont: 360cont:
@@ -392,13 +392,13 @@ _drm2_atomic_state_plane_fill(Ecore_Drm2_Plane_State *pstate, int fd)
392 { 392 {
393 pstate->cid.id = prop->prop_id; 393 pstate->cid.id = prop->prop_id;
394 pstate->cid.value = oprops->prop_values[i]; 394 pstate->cid.value = oprops->prop_values[i];
395 DBG("\t\t\tValue: %d", pstate->cid.value); 395 DBG("\t\t\tValue: %lu", pstate->cid.value);
396 } 396 }
397 else if (!strcmp(prop->name, "FB_ID")) 397 else if (!strcmp(prop->name, "FB_ID"))
398 { 398 {
399 pstate->fid.id = prop->prop_id; 399 pstate->fid.id = prop->prop_id;
400 pstate->fid.value = oprops->prop_values[i]; 400 pstate->fid.value = oprops->prop_values[i];
401 DBG("\t\t\tValue: %d", pstate->fid.value); 401 DBG("\t\t\tValue: %lu", pstate->fid.value);
402 } 402 }
403 else if (!strcmp(prop->name, "CRTC_X")) 403 else if (!strcmp(prop->name, "CRTC_X"))
404 { 404 {
@@ -456,7 +456,7 @@ _drm2_atomic_state_plane_fill(Ecore_Drm2_Plane_State *pstate, int fd)
456 DBG("\t\t\tCursor Plane"); 456 DBG("\t\t\tCursor Plane");
457 break; 457 break;
458 default: 458 default:
459 DBG("\t\t\tValue: %d", pstate->type.value); 459 DBG("\t\t\tValue: %lu", pstate->type.value);
460 break; 460 break;
461 } 461 }
462 } 462 }