linux/drivers/gpu/drm/i915/selftests
Chris Wilson 9f9f4101fc drm/i915/selftests: Push the fake iommu device from the stack to data
Since we store a pointer to the fake iommu device that is allocated on
the stack, as soon as we leave the function it goes out of scope and any
future dereference is undefined behaviour. Just in case we may need to
look at the fake iommu device after initialiation, move the allocation
from the stack into the data.

Fixes: 01b9d4e211 ("iommu/vt-d: Use dev_iommu_priv_get/set()")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200916105022.28316-2-chris@chris-wilson.co.uk
2020-09-16 20:50:31 +01:00
..
i915_active.c drm/i915: Allow for different modes of interruptible i915_active_wait 2020-03-30 18:20:33 +01:00
i915_buddy.c drm/i915/selftests: Avoid passing a random 0 into ilog2 2020-08-19 15:23:36 +03:00
i915_gem_evict.c drm/i915/gem: Drop cached obj->bind_count 2020-04-02 01:17:39 +01:00
i915_gem_gtt.c drm/i915/gt: Switch to object allocations for page directories 2020-09-07 14:24:08 +03:00
i915_gem.c drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. 2020-09-07 14:29:44 +03:00
i915_live_selftests.h drm/i915: Fix comments mentioning typo in IS_ENABLED() 2020-06-05 16:28:42 +01:00
i915_mock_selftests.h drm/i915/gt: Incrementally check for rewinding 2020-06-16 11:34:23 +03:00
i915_perf_selftests.h drm/i915: Fix comments mentioning typo in IS_ENABLED() 2020-06-05 16:28:42 +01:00
i915_perf.c drm/i915/gt: Switch to object allocations for page directories 2020-09-07 14:24:08 +03:00
i915_random.c
i915_random.h drm/i915: Add missing include file <linux/math64.h> 2020-01-07 14:04:31 +00:00
i915_request.c drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3. 2020-09-07 14:32:06 +03:00
i915_selftest.c drm/i915/gem: Implement legacy MI_STORE_DATA_IMM 2020-05-04 15:15:04 +01:00
i915_sw_fence.c
i915_syncmap.c
i915_vma.c drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. 2020-09-07 14:29:44 +03:00
igt_atomic.c drm/i915/selftests: Move igt_atomic_section[] out of the header 2020-01-03 13:31:39 +00:00
igt_atomic.h drm/i915/selftests: Move igt_atomic_section[] out of the header 2020-01-03 13:31:39 +00:00
igt_flush_test.c
igt_flush_test.h
igt_live_test.c
igt_live_test.h drm/i915/selftests: Make headers self-contained 2020-01-03 13:33:36 +00:00
igt_mmap.c drm/i915/selftests: Wrap vm_mmap() around GEM objects 2019-11-07 21:22:58 +00:00
igt_mmap.h drm/i915/selftests: Wrap vm_mmap() around GEM objects 2019-11-07 21:22:58 +00:00
igt_reset.c
igt_reset.h
igt_spinner.c drm/i915/selftests: Trim execlists runtime 2020-06-13 10:24:26 +01:00
igt_spinner.h
intel_memory_region.c drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. 2020-09-07 14:29:44 +03:00
intel_uncore.c
lib_sw_fence.c
lib_sw_fence.h
librapl.c drm/i915/selftests: Move gpu energy measurement into its own little lib 2020-04-17 18:48:51 +01:00
librapl.h drm/i915/selftests: Move gpu energy measurement into its own little lib 2020-04-17 18:48:51 +01:00
mock_drm.h drm/i915/selftests: make mock_drm.h self-contained 2019-12-23 12:38:43 +02:00
mock_gem_device.c drm/i915/selftests: Push the fake iommu device from the stack to data 2020-09-16 20:50:31 +01:00
mock_gem_device.h
mock_gtt.c drm/i915/gt: Switch to object allocations for page directories 2020-09-07 14:24:08 +03:00
mock_gtt.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
mock_region.c drm/i915/gem: Give each object class a friendly name 2020-05-29 23:38:29 +01:00
mock_region.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
mock_request.c
mock_request.h
mock_uncore.c
mock_uncore.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
scatterlist.c