]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: create macros to handle masked bits
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Apr 2012 12:04:12 +0000 (14:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:08 +0000 (11:18 +0200)
commit6b26c86d615747f67fede6ca9609b0f8b2037d11
tree5abfc0fecc0549878c0b93fb81e8fa535c1439b6
parentee7b9f93fd96a72e5d09e2b44024c11880873c6b
drm/i915: create macros to handle masked bits

... and put them to so good use.

Note that there's functional change in vlv clock gating code, we now
no longer spuriously read back the current value of the bit. According
to Bspec the high bits should always read zero, so ORing this in
should have no effect.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_ringbuffer.c