diff options
author | Chris Wilson | 2016-09-09 15:12:01 +0200 |
---|---|---|
committer | Chris Wilson | 2016-09-09 15:23:08 +0200 |
commit | 851ba2d6977d6ada31366ae0b791a69132f2c8a7 (patch) | |
tree | e7ccecb2ba55513cf4664939bd700a7347a8e79e /drivers/atm/idt77105.h | |
parent | drm/i915: Nonblocking request submission (diff) | |
download | kernel-qcow2-linux-851ba2d6977d6ada31366ae0b791a69132f2c8a7.tar.gz kernel-qcow2-linux-851ba2d6977d6ada31366ae0b791a69132f2c8a7.tar.xz kernel-qcow2-linux-851ba2d6977d6ada31366ae0b791a69132f2c8a7.zip |
drm/i915: Serialise execbuf operation after a dma-buf reservation object
Now that we can wait upon fences before emitting the request, it becomes
trivial to wait upon any implicit fence provided by the dma-buf
reservation object.
To protect against failure, we force any asynchronous waits on a foreign
fence to timeout after 10s - so that a stall in another driver does not
permanently cripple ourselves. Still unpleasant though!
Testcase: igt/prime_vgem/fence-wait
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: John Harrison <john.c.harrison@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160909131201.16673-21-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/atm/idt77105.h')
0 files changed, 0 insertions, 0 deletions