Re: [Intel-gfx] [PATCH 1/2] drm/i915: Split adding request to smaller functions

2015-02-20 Thread Mika Kuoppala
John Harrison writes: > Please note that a lot of the issues with _i915_add_request are cleaned > up by my patch series to remove the outstanding_lazy_request. The add to > client in some random client context is fixed, the messy execlist vs > legacy ringbuf decisions are removed, the execlist

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Split adding request to smaller functions

2015-02-19 Thread John Harrison
Please note that a lot of the issues with _i915_add_request are cleaned up by my patch series to remove the outstanding_lazy_request. The add to client in some random client context is fixed, the messy execlist vs legacy ringbuf decisions are removed, the execlist vs legacy one-sided context re

[Intel-gfx] [PATCH 1/2] drm/i915: Split adding request to smaller functions

2015-02-19 Thread Mika Kuoppala
Clean __i915_add_request by splitting request submission to preparation, actual submission and adding to client. While doing this we can remove the request->start which was not used. Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_gem.c | 116 +++