]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: warn if ring is active before sync flush
authorNaresh Kumar Kachhi <naresh.kumar.kachhi@intel.com>
Wed, 12 Mar 2014 11:09:42 +0000 (16:39 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Mar 2014 15:10:55 +0000 (16:10 +0100)
commit02f6a1e750df8201561171c47472435557a65864
tree7d76559fb9af4438a553fc8a6f0fe0be7ec1ed6b
parente9fea5747d2b3dbff47a8790c1cc4d7af80051d6
drm/i915: warn if ring is active before sync flush

Based on Bspec the command parser must be stopped prior to
issuing sync flush. This should be done by the caller of
intel_ring_setup_status_page. Patch adds a warning if it is
not done.

v2: rebased based on new patch (wait for ring to become idle)

Signed-off-by: Naresh Kumar Kachhi <naresh.kumar.kachhi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c