[PATCH weston] compositor-drm: Differentiate between two similar error paths

Rob Bradford robert.bradford at intel.com
Fri May 3 05:55:27 PDT 2013


From: Rob Bradford <rob at linux.intel.com>

---
 src/compositor-drm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index f39096e..1f55271 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -598,7 +598,7 @@ drm_output_repaint(struct weston_output *output_base,
 	if (drmModePageFlip(compositor->drm.fd, output->crtc_id,
 			    output->next->fb_id,
 			    DRM_MODE_PAGE_FLIP_EVENT, output) < 0) {
-		weston_log("queueing pageflip failed: %m\n");
+		weston_log("queueing pageflip failed (repaint): %m\n");
 		return;
 	}
 
@@ -669,7 +669,7 @@ drm_output_start_repaint_loop(struct weston_output *output_base)
 
 	if (drmModePageFlip(compositor->drm.fd, output->crtc_id, fb_id,
 			    DRM_MODE_PAGE_FLIP_EVENT, output) < 0) {
-		weston_log("queueing pageflip failed: %m\n");
+		weston_log("queueing pageflip failed (start repaint loop): %m\n");
 		return;
 	}
 }
-- 
1.8.1.4



More information about the wayland-devel mailing list