linux/drivers/gpu/drm/i915/selftests
Maarten Lankhorst cf3e3e86d7 drm/i915: Use ttm mmap handling for ttm bo's.
Use the ttm handlers for servicing page faults, and vm_access.

We do our own validation of read-only access, otherwise use the
ttm handlers as much as possible.

Because the ttm handlers expect the vma_node at vma->base, we slightly
need to massage the mmap handlers to look at vma_node->driver_private
to fetch the bo, if it's NULL, we assume i915's normal mmap_offset uapi
is used.

This is the easiest way to achieve compatibility without changing ttm's
semantics.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210610070152.572423-5-thomas.hellstrom@linux.intel.com
2021-06-11 10:53:25 +02:00
..
i915_active.c drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
i915_gem_evict.c drm/i915/gem: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_gtt.c Cross-subsystem Changes: 2021-06-10 13:45:11 +10:00
i915_gem.c drm/i915/selftests: Rename pm_ prefixed functions names 2021-04-21 10:56:00 +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/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01: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 Cross-subsystem Changes: 2021-06-10 13:45:11 +10:00
i915_random.c
i915_random.h
i915_request.c Merge tag 'drm-intel-gt-next-2021-06-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-11 13:37:34 +10:00
i915_selftest.c
i915_sw_fence.c
i915_syncmap.c
i915_vma.c drm/i915/selftests: Skip aperture remapping selftest where there is no aperture 2021-04-20 10:48:55 +01:00
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 drm/i915: Use ttm mmap handling for ttm bo's. 2021-06-11 10:53:25 +02:00
igt_mmap.h drm/i915: Use ttm mmap handling for ttm bo's. 2021-06-11 10:53:25 +02:00
igt_reset.c
igt_reset.h
igt_spinner.c Cross-subsystem Changes: 2021-06-10 13:45:11 +10:00
igt_spinner.h drm/i915: Add igt_spinner_pin() to allow for ww locking around spinner. 2021-03-24 17:27:21 +01:00
intel_memory_region.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_uncore.c drm/i915: replace IS_GEN and friends with GRAPHICS_VER 2021-06-07 00:59:48 -07:00
lib_sw_fence.c
lib_sw_fence.h
librapl.c drm/i915/selftests: Only query RAPL for integrated power measurements 2021-04-20 10:49:05 +01:00
librapl.h drm/i915/selftests: Only query RAPL for integrated power measurements 2021-04-20 10:49:05 +01:00
mock_drm.h
mock_gem_device.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
mock_gem_device.h drm/i915/selftest: Create mock_destroy_device 2020-09-21 10:36:24 +02:00
mock_gtt.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
mock_gtt.h
mock_region.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
mock_region.h
mock_request.c
mock_request.h
mock_uncore.c
mock_uncore.h
scatterlist.c