linux/drivers/gpu/drm/i915/gem/selftests
Chris Wilson f63dfc1464 drm/i915/selftests: Hold the vma manager lock while modifying mmap_offset
Right idea, wrong lock. We already drop struct_mutex before we free the
mmap_offset when freeing the object, so we need to take the vma manager
lock when manipulating the mmap_offset address space for our selftests.

Fixes: 8221d21b06 ("drm/i915/selftests: Lock the drm_mm while modifying")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190711065215.4004-2-chris@chris-wilson.co.uk
2019-07-11 16:26:05 +01:00
..
huge_gem_object.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
huge_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
huge_pages.c drm/i915/selftests: Be engine agnostic 2019-07-04 22:55:00 +01:00
i915_gem_client_blt.c drm/i915/selftests: Common live setup/teardown 2019-07-03 11:07:57 +01:00
i915_gem_coherency.c drm/i915/selftests: Be engine agnostic 2019-07-04 22:55:00 +01:00
i915_gem_context.c drm/i915/selftests: Ensure we don't clamp a random offset to 32b 2019-07-11 10:06:37 +01:00
i915_gem_dmabuf.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
i915_gem_mman.c drm/i915/selftests: Hold the vma manager lock while modifying mmap_offset 2019-07-11 16:26:05 +01:00
i915_gem_object_blt.c drm/i915/selftests: Common live setup/teardown 2019-07-03 11:07:57 +01:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_phys.c drm/i915: Move GEM object domain management from struct_mutex to local 2019-05-28 12:45:29 +01:00
igt_gem_utils.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
igt_gem_utils.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_context.c drm/i915: Rename i915_hw_ppgtt to i915_ppgtt 2019-06-11 11:44:32 +01:00
mock_context.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00