lib/display: Fix the SetCrtc disabling log message
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 5 Feb 2014 15:54:13 +0000 (15:54 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 11 Feb 2014 13:50:16 +0000 (13:50 +0000)
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@intel.com>
lib/igt_kms.c

index 22c1148..c9e110c 100644 (file)
@@ -1056,10 +1056,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,