[Intel-gfx] [PATCH 02/13] drm/i915: Consolidate add_request vfunc

2016-06-29 Thread Tvrtko Ursulin
From: Tvrtko Ursulin All engines apart from render select this based on Gen. Move it to the common helper as well. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/intel_ringbuffer.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --gi

[Intel-gfx] [PATCH 02/13] drm/i915: Consolidate add_request vfunc

2016-06-27 Thread Tvrtko Ursulin
From: Tvrtko Ursulin All engines apart from render select this based on Gen. Move it to the common helper as well. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_ringbuffer.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/in