drm/i915: dump the device info
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Aug 2012 20:01:51 +0000 (22:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:29:21 +0000 (18:29 +0200)
commitc96ea64ebbbe911becccb20dea1609017caad3c9
tree0a5abbe3e3d058c3fd6866c4ba11fa385f62bbcf
parent65bccb5c708bd9f00d24f041f4f7c45130359448
drm/i915: dump the device info

Handy for lazy people like me, or when people forget to add the output
of lspci -nn.

v2: Chris Wilson noticed that we have this duplicated already in the
i915_capabilites debugfs file. But there \n as separator looks better,
which would be a bit verbose in dmesg. Abuse the preprocessor to
extract this all.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h