diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-06-16 15:05:18 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-06-26 10:43:26 +0200 |
commit | 611cdf3695a307fdca3ff3779a1e6cca935e2d31 (patch) | |
tree | b25b091e31a3c8725a78a64356c3c32dac7d8f21 /MAINTAINERS | |
parent | 2c7367626733e27d6f6d9906db7a31ada587566b (diff) |
drm/i915: Disable EXEC_OBJECT_ASYNC when doing relocationsdrm-intel-fixes-2017-06-27
If we write a relocation into the buffer, we require our own implicit
synchronisation added after the start of the execbuf, outside of the
user's control. As we may end up clflushing, or doing the patch itself
on the GPU, asynchronously we need to look at the implicit serialisation
on obj->resv and hence need to disable EXEC_OBJECT_ASYNC for this
object.
If the user does trigger a stall for relocations, we make sure the stall
is complete enough so that the batch is not submitted before we complete
those relocations.
Fixes: 77ae9957897d ("drm/i915: Enable userspace to opt-out of implicit fencing")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
(cherry picked from commit 071750e550af46b5d3a84ad56c2a108c3e136284)
[danvet: Resolve conflicts, resolution reviewed by Tvrtko on irc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions