]> 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)
commite343ae067c48a07024dd764683909148c0ad9475
tree0a5abbe3e3d058c3fd6866c4ba11fa385f62bbcf
parent5623a9da3644691dc6a2c6b66be3425e5bcce173
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