From: Ville Syrjälä Date: Wed, 9 Apr 2014 10:29:04 +0000 (+0300) Subject: drm/i915/chv: Use RMW to toggle swing calc init X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1966e59ec1075597eff4d7feb3d11536a242d0eb;p=pandora-kernel.git drm/i915/chv: Use RMW to toggle swing calc init The spec only tells us to set individual bits here and there. So we use RMW for most things. Do the same for the swing calc init. Eventually we should optimize things to just blast the final value in with group access whenever possible. But to do that someone needs to take a good look at what's the reset value for each registers, and possibly if the BIOS manages to frob with some of them. For now use RMW access always. Signed-off-by: Ville Syrjälä Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed