From: Daniel Vetter Date: Tue, 24 Apr 2012 12:04:12 +0000 (+0200) Subject: drm/i915: create macros to handle masked bits X-Git-Tag: v3.5-rc1~83^2~8^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b26c86d615747f67fede6ca9609b0f8b2037d11;p=pandora-kernel.git 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 Reviewed-by: Chris Wilson Reviewed-by: Eugeni Dodonov Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed