summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_request.c
diff options
context:
space:
mode:
authorChris Wilson2017-05-03 11:39:18 +0200
committerChris Wilson2017-05-03 12:08:45 +0200
commit9431282832e145237196a19f2464531eb9790240 (patch)
tree10107dd3f2a1632da22818a32c5a5d3a1ecdeeca /drivers/gpu/drm/i915/i915_gem_request.c
parentdrm/i915: Use wait_for_atomic_us when waiting for gt fifo (diff)
downloadkernel-qcow2-linux-9431282832e145237196a19f2464531eb9790240.tar.gz
kernel-qcow2-linux-9431282832e145237196a19f2464531eb9790240.tar.xz
kernel-qcow2-linux-9431282832e145237196a19f2464531eb9790240.zip
drm/i915: Mark up clflushes as belonging to an unordered timeline
2 clflushes on two different objects are not ordered, and so do not belong to the same timeline (context). Either we use a unique context for each, or we reserve a special global context to mean unordered. Ideally, we would reserve 0 to mean unordered (DMA_FENCE_NO_CONTEXT) to have the same semantics everywhere. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170503093924.5320-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_request.c')
0 files changed, 0 insertions, 0 deletions