mirror_ubuntu-kernels/drivers/gpu/drm/i915/selftests
Chris Wilson e3e7aeec32 drm/i915/selftests: Apply a heavy handed flush to i915_active
Due to the ordering of cmpxchg()/dma_fence_signal() inside node_retire(),
we must also use the xchg() as our primary memory barrier to flush the
outstanding callbacks after expected completion of the i915_active.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200306133852.3420322-1-chris@chris-wilson.co.uk
2020-03-07 00:05:54 +00:00
..
i915_active.c
i915_buddy.c
i915_gem_evict.c
i915_gem_gtt.c
i915_gem.c
i915_live_selftests.h
i915_mock_selftests.h
i915_perf_selftests.h
i915_perf.c
i915_random.c
i915_random.h
i915_request.c
i915_selftest.c
i915_sw_fence.c
i915_syncmap.c
i915_vma.c
igt_atomic.c
igt_atomic.h
igt_flush_test.c
igt_flush_test.h
igt_live_test.c
igt_live_test.h
igt_mmap.c
igt_mmap.h
igt_reset.c
igt_reset.h
igt_spinner.c
igt_spinner.h
intel_memory_region.c
intel_uncore.c
lib_sw_fence.c
lib_sw_fence.h
mock_drm.h
mock_gem_device.c
mock_gem_device.h
mock_gtt.c
mock_gtt.h
mock_region.c
mock_region.h
mock_request.c
mock_request.h
mock_uncore.c
mock_uncore.h
scatterlist.c