drm/i915: Cleanup SHOTPLUG_CTL status bits definitions
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 13 Dec 2012 16:08:59 +0000 (16:08 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Dec 2012 10:12:03 +0000 (11:12 +0100)
commitb696519e51910943f084ea0fc8bdceceae8383ef
tree5077837ce59d5a01add128bee6811f1206778fd8
parent09153000b8ca32a539a1207edebabd0d40b6c61b
drm/i915: Cleanup SHOTPLUG_CTL status bits definitions

Those status bits don't follow the usual pattern: _MASK (those bits are
write 1 to clear, useful to select the value we want to read) and the
values shifted by the same amount.

Cleaned that that up when poking at the register for testing purposes,
might as well upstream that cleanup.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h