]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 30 Apr 2014 08:06:21 +0000 (10:06 +0200)
commit52aea46875ed88806be07e1ac3d648a079f13f53
tree0d1f0dca19b718b949dfd62afcd9ac3b4eff82bd
parent9b500b9a3d4a4bca93a47ad8d406cce8c4603cee
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