]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Extend execution fence to support a callback
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 May 2019 21:11:32 +0000 (22:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 May 2019 07:40:45 +0000 (08:40 +0100)
commitf71e01a78bee1c93dbadbc0b6a11d7bd74237fa1
treec3f1d89a0001252d81da9207aaad3867bb15f2b2
parent78e41ddd219822a5f42948eb6c6c6cae14c80181
drm/i915: Extend execution fence to support a callback

In the next patch, we will want to configure the slave request
depending on which physical engine the master request is executed on.
For this, we introduce a callback from the execute fence to convey this
information.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521211134.16117-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h