drm/i915: Eliminate plane control register RMW from sprite code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Mar 2015 15:57:13 +0000 (17:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Mar 2015 10:48:23 +0000 (11:48 +0100)
commit48fe4691ae639e60fda37faf06dccdff60245149
tree0dd4f0d9d55ea4aa7f763ff1c9e0043287348333
parent47ecbb208bf44be0e798495d08837fe7c4138201
drm/i915: Eliminate plane control register RMW from sprite code

Replace the RMW access with explicit initialization of the entire plane
control register, as was done for primary planes in:

 commit f45651bae2ee73ae551699d481f76aa6ad92138f
 Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
 Date:   Fri Aug 8 21:51:10 2014 +0300

    drm/i915: Eliminate rmw from .update_primary_plane()

The automagic primary plane disable is still doing RMWs, but that will
require more work to untangle, so leave it alone for now.

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_sprite.c