drm/i915: Add i915 register dumping debugfs file
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 2 Jul 2009 02:26:53 +0000 (22:26 -0400)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:09 +0000 (13:05 -0700)
commit9e3a6d155ed0a7636b926a798dd7221ea107b274
tree9bc79e992d908aa3cf2ba4cf35f34df7b3bd956e
parent27c202ad7f141d4efa9c64e30bf4a4d3bcd799ae
drm/i915: Add i915 register dumping debugfs file

Add a debugfs file to dump the entire register range. Here we
assume that reading write-only/reserved registers won't make the chip
angry. Seems to hold true, thankfully.

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_debugfs.c