summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_request.c
diff options
context:
space:
mode:
authorChris Wilson2016-08-09 10:23:33 +0200
committerChris Wilson2016-08-09 11:17:26 +0200
commitedf6b76f64a2f62b81ed796fe2ce6dd664351d64 (patch)
treefe8f513eb432134916eb2be6df52fd5dc077fdb5 /drivers/gpu/drm/i915/i915_gem_request.c
parentdrm/i915: Don't check for idleness before retiring after a GPU hang (diff)
downloadkernel-qcow2-linux-edf6b76f64a2f62b81ed796fe2ce6dd664351d64.tar.gz
kernel-qcow2-linux-edf6b76f64a2f62b81ed796fe2ce6dd664351d64.tar.xz
kernel-qcow2-linux-edf6b76f64a2f62b81ed796fe2ce6dd664351d64.zip
drm/i915: Add smp_rmb() to busy ioctl's RCU dance
In the debate as to whether the second read of active->request is ordered after the dependent reads of the first read of active->request, just give in and throw a smp_rmb() in there so that ordering of loads is assured. v2: Explain the manual smp_rmb() Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1470731014-6894-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_request.c')
0 files changed, 0 insertions, 0 deletions