[Intel-gfx] [PATCH v3] drm/i915: fix the dequeue logic for single_port_submission context

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 17 08:00:39 UTC 2016


On Wed, Nov 16, 2016 at 10:05:04PM +0800, Min He wrote:
> For a singl_port_submission context, it can only be submitted to port 0,
> and there shouldn't be any other context in port 1 at the same time. This
> is required by GVT-g context to have an opportunity to save/restore some
> non-hw context render registers.

This statement is not true. It has the opportunity to modify the GVT
context if a non-GVT context was in port 0 or port 1.

> This patch is to implement the correct logic in execlists_dequeue.

I object. This is not the correct logic here, but to workaround a
failure in GVT.

Any way pushed until GVT is fixed.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list