]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Shuffle sprite register writes into a tighter group
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Jan 2014 18:09:03 +0000 (20:09 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
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 <jbarnes@virtuousgeek.org>
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