]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c93d8d1d8a7b62912244f13fb2fad89530c6949
tree5077837ce59d5a01add128bee6811f1206778fd8
parentb76d2fb491db76c938cd6a9452c6bd02e5249581
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