drm/i915: Embed signaling node into the GEM request
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 16:23:26 +0000 (17:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jul 2016 20:04:14 +0000 (21:04 +0100)
commitb3850855f480a34bf528f78e1ff693739b3aa98c
tree10fdb6751b5fa1d8a0276422e3414e4a63da8e61
parentc81d46138da658b6a4edc53d5d9aaf62d56d764b
drm/i915: Embed signaling node into the GEM request

Under the assumption that enabling signaling will be a frequent
operation, lets preallocate our attachments for signaling inside the
(rather large) request struct (and so benefiting from the slab cache).

v2: Convert from void * to more meaningful names and types.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467390209-3576-17-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_breadcrumbs.c
drivers/gpu/drm/i915/intel_ringbuffer.h