summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-07 17:20:57 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-10 10:17:07 +0200
commitefab6d8dd158fdccbe6a030f89fbf9ca0a9564e4 (patch)
treec559b230c847f851432b7d00b668c287e50e6937 /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915: Clear crtc atomic flags at beginning of transaction (diff)
downloadlinux-efab6d8dd158fdccbe6a030f89fbf9ca0a9564e4.tar.xz
linux-efab6d8dd158fdccbe6a030f89fbf9ca0a9564e4.zip
drm/i915: Use a separate slab for requests
requests are even more frequently allocated than objects and equally benefit from having a dedicated slab. v2: Rebase Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 720d29a602a7..9f3fc81149a4 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -2139,7 +2139,6 @@ int intel_ring_idle(struct intel_engine_cs *ring)
int intel_ring_alloc_request_extras(struct drm_i915_gem_request *request)
{
request->ringbuf = request->ring->buffer;
-
return 0;
}