drm/i915: add debugfs file for swizzling information
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Dec 2011 12:57:16 +0000 (13:57 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 Jan 2012 20:21:08 +0000 (21:21 +0100)
commitea16a3cdb9218a2389fafc804356c1914c157654
tree22e4f8513c1f12b9321fb0e5103ff422ef527191
parentc9c4b6f6c28354f1df9bd288dc33ba7ae0e66aaa
drm/i915: add debugfs file for swizzling information

This will also come handy for the gen6+ swizzling support, where the
driver is supposed to control swizzling depending upon dram
configuration.

v2: CxDRB3 are 16 bit regs! Noticed by Chris Wilson.

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