drm/i915: Perform primary enable/disable atomically with sprite updates
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Apr 2014 10:35:47 +0000 (13:35 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 May 2014 08:18:02 +0000 (10:18 +0200)
commit5b633d6b8e3aa1f3ba3daa568416e36e054a3bb1
treea49a3ba4133cfae651ae1c62d352fc5c1033fed3
parent8d7849db3eab7f560deba145dfed3cd4df97c975
drm/i915: Perform primary enable/disable atomically with sprite updates

Move the primary plane enable/disable to occur atomically with the
sprite update that caused the primary plane visibility to change.

FBC and IPS enable/disable is left to happen well before or after
the primary plane change.

v2: Pass intel_crtc instead of drm_crtc (Daniel)

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Sourab Gupta <sourabgupta@gmail.com>
Reviewed-by: Akash Goel <akash.goels@gmail.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_sprite.c