]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita388bd12aaa561df65c2097ae99bcc2b944c2051
tree0a5abbe3e3d058c3fd6866c4ba11fa385f62bbcf
parent5b522d2380a836beedf690febdf8f3b244cc637c
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