drm/i915: Shuffle sprite register writes into a tighter group
authorVille Syrjälä <[email protected]>
Fri, 17 Jan 2014 18:09:03 +0000 (20:09 +0200)
committerDaniel Vetter <[email protected]>
Fri, 24 Jan 2014 16:22:53 +0000 (17:22 +0100)
commitca6ad02523972b331f862161eff93e1a62f34d32
treea8484afb5302e4d780c73653aa3002b6783ee18e
parent754970ee1a4b0a3ba0536ae1d22825a1cfb4c11b
drm/i915: Shuffle sprite register writes into a tighter group

Group the sprite register writes a bit tighter. We want to write
the registers atomically, and so doing the base address/offset
artihmetic within the critical section is pointless when it can
all be done beforehand.

Reviewed-by: Jesse Barnes <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_sprite.c