]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Eliminate rmw from .update_primary_plane()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 Aug 2014 18:51:10 +0000 (21:51 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 18:53:37 +0000 (20:53 +0200)
commitb51319cce95721fdcd5d5243a37f1cb08b49c1ec
treef649e40089135c23572ddcf6c7a622ccd99e24ce
parent78fd0a92764f53a15628e4c2379f38a774df6db6
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 <matthew.d.roper@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c