Re: [Intel-gfx] [PATCH] drm/i915: Map the execlists context regs once during pinning

2015-05-20 Thread Chris Wilson
On Wed, May 20, 2015 at 02:12:37PM +0100, Chris Wilson wrote: > When we pin the execlists context on queuing, it the ideal time to map > the register page that we need to update when we submit the request to > the hardware (and keep it around for future requests). > > This avoids having to do an a

[Intel-gfx] [PATCH] drm/i915: Map the execlists context regs once during pinning

2015-05-20 Thread Chris Wilson
When we pin the execlists context on queuing, it the ideal time to map the register page that we need to update when we submit the request to the hardware (and keep it around for future requests). This avoids having to do an atomic kmap on every submission. On the other hand, it does depend upon c