diff options
author | Chris Wilson <[email protected]> | 2017-09-26 16:34:09 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-09-29 12:30:17 +0100 |
commit | 60456d5c2d25cbe91cd0747d12ec9d909bf8d5b9 (patch) | |
tree | 0a8743bf642d49df35bb7d42e1b699a2c7a4a986 /lib/mpi/mpi-cmp.c | |
parent | e18063e88bd579c479a2b45820be6c4625f841c3 (diff) |
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 <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions