drm/i915: add a display info file to debugfs v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 7 Feb 2014 20:48:15 +0000 (12:48 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:53:04 +0000 (18:53 +0100)
commit53f5e3ca258b9027f2effbdbb4512e459456feee
treec3ea37cf09d871a57976c2cf5f7ff5a5c3970627
parentac1bb36c4e28b53b3494bc8afbe6ffa0588bfe4a
drm/i915: add a display info file to debugfs v2

Can be expanded up on to include all sorts of things (HDMI infoframe
data, more DP status, etc).  Should be useful for bug reports to get a
baseline on the display config and info.

v2: use seq_putc (Rodrigo)
    describe mode field names (Rodrigo)

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h