drm/i915: Split primary plane update_plane() into calc+commit phases
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 17 Oct 2012 11:36:33 +0000 (14:36 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Oct 2012 16:57:46 +0000 (19:57 +0300)
commitbd173860775a06946e69261873bf81c67f2fea00
treeb7b05abd566fb68c88c80af1c1b1898df95b87cc
parentbe44a906c45d9bbafc752f449f66e2b0939f3510
drm/i915: Split primary plane update_plane() into calc+commit phases

Separate the part that calculates the register values from the part that
writes the registers. This will be useful in the atomic page flip code.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h