summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-09-26 18:34:09 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-09-29 14:30:17 +0300
commit60456d5c2d25cbe91cd0747d12ec9d909bf8d5b9 (patch)
tree0a8743bf642d49df35bb7d42e1b699a2c7a4a986 /include/linux/errqueue.h
parente18063e88bd579c479a2b45820be6c4625f841c3 (diff)
downloadlinux-60456d5c2d25cbe91cd0747d12ec9d909bf8d5b9.tar.xz
drm/i915/selftests: Replace wmb() with i915_gem_chipset_flush()
Currently, we are being fairly lazy and only using a wmb() following an update to an active batch. Previously, we have found that to be insufficient to ensure that a write from the CPU reaches memory in a timely fashion, and in some caches we may need to flush a chipset cache. To that end, we have i915_gem_chipset_flush() so use it. Suggested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170926153409.7928-1-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions