diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-09 16:12:01 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-09 16:23:08 +0300 |
commit | 851ba2d6977d6ada31366ae0b791a69132f2c8a7 (patch) | |
tree | e7ccecb2ba55513cf4664939bd700a7347a8e79e /drivers/gpu/drm/savage | |
parent | 0a046a0e93d2971d42f975b7ac409af0d4d9e7b4 (diff) | |
download | linux-851ba2d6977d6ada31366ae0b791a69132f2c8a7.tar.xz |
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/gpu/drm/savage')
0 files changed, 0 insertions, 0 deletions