diff options
author | Chris Wilson <[email protected]> | 2016-09-09 14:12:01 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-09-09 14:23:08 +0100 |
commit | 851ba2d6977d6ada31366ae0b791a69132f2c8a7 (patch) | |
tree | e7ccecb2ba55513cf4664939bd700a7347a8e79e /lib/mpi/mpi-inline.h | |
parent | 0a046a0e93d2971d42f975b7ac409af0d4d9e7b4 (diff) |
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 <[email protected]>
Reviewed-by: John Harrison <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions