[Intel-gfx] [PATCH] drm/i915: stop command parser before sync flush

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 4 08:39:19 CET 2014


On Tue, Mar 04, 2014 at 10:46:38AM +0530, naresh.kumar.kachhi at intel.com wrote:
> From: Naresh Kumar Kachhi <naresh.kumar.kachhi at intel.com>
> 
> Based on Bspec the command parser must be stopped prior to
> issuing sync flush. Only after observing Rings Idle set in
> MI_MODE can a Sync Flush be issued. Once sync flush has
> finished the command parser is re-enabled by clearing Stop Rings.

I am intrigued as to how the rings can be active when they are shut
down. Oh, I see, a slight misordering... 

Can you please also send a patch to issue the ring disable before we
setup the status page? I wonder if there are other steps that should be
placed into that critical section where the ring is disabled?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list