summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-02-13 09:44:30 -0500
committerChris Michael <cp.michael@samsung.com>2017-02-13 09:45:20 -0500
commit000124012034d0a5fac7d8fdd1812010fc865316 (patch)
tree498bb453b367274eacfb7d145ea0601204143f05
parent73349edc19305e2c852ecbdd48dd8b8880fcd4ca (diff)
ecore-drm2: Fix debug messages to use proper type
Small patch which fixes some FB flipping messages to use the proper type (ie: some messages were ERR when should be DBG or WRN, etc). NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 6b4a1b7..f838168 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -439,7 +439,7 @@ ecore_drm2_fb_flip(Ecore_Drm2_Fb *fb, Ecore_Drm2_Output *output)
439 { 439 {
440 repeat = EINA_TRUE; 440 repeat = EINA_TRUE;
441 if (count == 0) 441 if (count == 0)
442 ERR("Pageflip fail - EBUSY from drmModePageFlip..."); 442 WRN("Pageflip fail - EBUSY from drmModePageFlip...");
443 count++; 443 count++;
444 if (count > 500) 444 if (count > 500)
445 { 445 {
@@ -450,12 +450,13 @@ ecore_drm2_fb_flip(Ecore_Drm2_Fb *fb, Ecore_Drm2_Output *output)
450 } 450 }
451 } 451 }
452 while (repeat); 452 while (repeat);
453
453 if ((ret == 0) && (count > 0)) 454 if ((ret == 0) && (count > 0))
454 ERR("Pageflip finally succeeded after %i tries due to EBUSY", count); 455 DBG("Pageflip finally succeeded after %i tries due to EBUSY", count);
455 456
456 if ((ret < 0) && (errno != EBUSY)) 457 if ((ret < 0) && (errno != EBUSY))
457 { 458 {
458 DBG("Pageflip Failed for Crtc %u on Connector %u: %m", 459 ERR("Pageflip Failed for Crtc %u on Connector %u: %m",
459 output->crtc_id, output->conn_id); 460 output->crtc_id, output->conn_id);
460 return ret; 461 return ret;
461 } 462 }