[Intel-gfx] [PATCH igt 09/28] lib/display: Fix the SetCrtc disabling log message

Damien Lespiau damien.lespiau at intel.com
Fri Feb 7 15:48:53 CET 2014


We were displaying the value of fb_id (0), when the actual interesting
thing about this call it that it'll just down the pipe.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 lib/igt_kms.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 38ee82b..64fb39a 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1055,10 +1055,9 @@ static int igt_output_commit(igt_output_t *output)
 					     mode);
 		} else {
 			LOG(display,
-			    "%s: SetCrtc pipe %c, fb %u\n",
+			    "%s: SetCrtc pipe %c, disabling\n",
 			    igt_output_name(output),
-			    pipe_name(output->config.pipe),
-			    fb_id);
+			    pipe_name(output->config.pipe));
 
 			ret = drmModeSetCrtc(display->drm_fd,
 					     crtc_id,
-- 
1.8.3.1




More information about the Intel-gfx mailing list