diff options
| author | Chris Wilson <[email protected]> | 2017-01-27 09:40:08 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-01-27 19:55:48 +0000 |
| commit | fec0445caa273209d2809760ac7c63e743d6f512 (patch) | |
| tree | 12a465dab8256f388519f0cdd73bdc8e0889b410 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Enable userspace to opt-out of implicit fencing (diff) | |
| download | kernel-fec0445caa273209d2809760ac7c63e743d6f512.tar.gz kernel-fec0445caa273209d2809760ac7c63e743d6f512.zip | |
drm/i915: Support explicit fencing for execbuf
Now that the user can opt-out of implicit fencing, we need to give them
back control over the fencing. We employ sync_file to wrap our
drm_i915_gem_request and provide an fd that userspace can merge with
other sync_file fds and pass back to the kernel to wait upon before
future execution.
Testcase: igt/gem_exec_fence
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Acked-by: Chad Versace <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
