[Intel-gfx] Question about LR context on VCS

Gong, Zhipeng zhipeng.gong at intel.com
Wed Jan 6 23:54:24 PST 2016

> -----Original Message-----
> From: Chris Wilson [mailto:chris at chris-wilson.co.uk]
> Sent: Thursday, January 07, 2016 3:43 PM
> On Thu, Jan 07, 2016 at 05:35:13AM +0000, Gong, Zhipeng wrote:
> > Hello
> >
> > Intel MOCS/WA registers got initialized when LR context of RCS ring is
> created.
> > When one context uses only VCS ring and LR context of RCS ring is not
> > created, what will the value of Intel MOCS/WA registers be? Undefined?
> Even submitting a RCS batch first is no guarrantee that
> rcs_init_context() would be executed by the GPU before your VCS batch.
> Yes, it is a known hole.
> -Chris

If call intel_lr_context_deferred_alloc(RCS) before intel_lr_context_deferred_alloc(VCS) by default, 
and wait for the init context request to be completed, can it work?

More information about the Intel-gfx mailing list