Merge drm/drm-next into drm-misc-next
[linux-2.6-block.git] / drivers / gpu / drm / i915 / i915_debugfs.c
index 38dcee1ca062483272948bce3a7d9af2b4c83a7d..9bad6a32adaef35ba0ccd56ee114687e8ae812e4 100644 (file)
@@ -2948,14 +2948,7 @@ static void intel_seq_print_mode(struct seq_file *m, int tabs,
        for (i = 0; i < tabs; i++)
                seq_putc(m, '\t');
 
-       seq_printf(m, "id %d:\"%s\" freq %d clock %d hdisp %d hss %d hse %d htot %d vdisp %d vss %d vse %d vtot %d type 0x%x flags 0x%x\n",
-                  mode->base.id, mode->name,
-                  mode->vrefresh, mode->clock,
-                  mode->hdisplay, mode->hsync_start,
-                  mode->hsync_end, mode->htotal,
-                  mode->vdisplay, mode->vsync_start,
-                  mode->vsync_end, mode->vtotal,
-                  mode->type, mode->flags);
+       seq_printf(m, DRM_MODE_FMT "\n", DRM_MODE_ARG(mode));
 }
 
 static void intel_encoder_info(struct seq_file *m,