[Intel-gfx] [PATCH] drm/i915: avoid false fence signaling when enabling preemption

2018-03-11 Thread Min He
request is really completed. In this patch, we check if the seqno in wait is same as the request before we signal the fence, and thus fix the above issue. Signed-off-by: Min He --- drivers/gpu/drm/i915/i915_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

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

2016-11-16 Thread Min He
logic in execlists_dequeue. v2: optimized code by following Chris's advice, and added more comments to explain the patch. v3: followed the coding style. Signed-off-by: Min He Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_lrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletio

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

2016-11-16 Thread Min He
logic in execlists_dequeue. V2: optimized code by following Chris's advice, and added more comments to explain the patch. Signed-off-by: Min He Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_lrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gp

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

2016-11-15 Thread Min He
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 patch is to implement the correct logic in execlists_dequeue. Signed-off-by: Min He Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_