Re: [Intel-gfx] [PATCH v3 03/10] drm/i915: Treat kernel context as initialised

2016-05-26 Thread Chris Wilson
On Thu, May 26, 2016 at 12:51:45PM +0100, Chris Wilson wrote: > On Thu, May 26, 2016 at 09:52:33AM +0100, Chris Wilson wrote: > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c > > b/drivers/gpu/drm/i915/intel_ringbuffer.c > > index 4e0aa7e9d5da..203b7952052a 100644 > > ---

Re: [Intel-gfx] [PATCH v3 03/10] drm/i915: Treat kernel context as initialised

2016-05-26 Thread Chris Wilson
On Thu, May 26, 2016 at 09:52:33AM +0100, Chris Wilson wrote: > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c > b/drivers/gpu/drm/i915/intel_ringbuffer.c > index 4e0aa7e9d5da..203b7952052a 100644 > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > +++

[Intel-gfx] [PATCH v3 03/10] drm/i915: Treat kernel context as initialised

2016-05-26 Thread Chris Wilson
The kernel context exists simply as a placeholder and should never be executed with a render context. It does not need the golden render state, as that will always be applied to a user context. By skipping the initialisation we can avoid issues in attempting to program the golden render context