From: Ville Syrjälä Date: Fri, 8 Aug 2014 18:51:10 +0000 (+0300) Subject: drm/i915: Eliminate rmw from .update_primary_plane() X-Git-Tag: omap-for-v3.19/prcm-cleanup~70^2~73^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45651bae2ee73ae551699d481f76aa6ad92138f;p=pandora-kernel.git drm/i915: Eliminate rmw from .update_primary_plane() Move the entire DSPCNTR register setup into the .update_primary_plane() functions. That's where it belongs anyway and it'll also help 830M which has the extra problem that plane registers reads will return the value latched at the last vblank, not the value that was last written. Also move DSPPOS and DSPSIZE setup there. v2: Don't move variable initialization to avoid churn later Reviewed-by: Matt Roper Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed