linux/drivers/gpu/drm/i915/gem/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
..
huge_gem_object.c drm/i915: Move HAS_STRUCT_PAGE to obj->flags 2021-03-24 11:47:37 +01:00
huge_gem_object.h
huge_pages.c drm/i915/selftests: Prepare huge_pages testcases for obj->mm.lock removal. 2021-03-24 17:34:45 +01:00
i915_gem_client_blt.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_coherency.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_context.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_dmabuf.c drm/i915/selftests: Prepare dma-buf tests for obj->mm.lock removal. 2021-03-24 17:41:17 +01:00
i915_gem_execbuffer.c drm/i915/selftests: Prepare execbuf tests for obj->mm.lock removal. 2021-03-24 17:41:23 +01:00
i915_gem_mman.c drm/i915: Use ttm mmap handling for ttm bo's. 2021-06-11 10:53:25 +02:00
i915_gem_object_blt.c Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
i915_gem_object.c drm/i915/selftests: Prepare object tests for obj->mm.lock removal. 2021-03-24 17:41:35 +01:00
i915_gem_phys.c drm/i915: Pass ww ctx to intel_pin_to_display_plane 2021-03-24 17:27:20 +01:00
igt_gem_utils.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
igt_gem_utils.h
mock_context.c drm/i915/gem: Split the context's obj:vma lut into its own mutex 2020-07-03 10:13:13 +01:00
mock_context.h
mock_dmabuf.c drm-misc-next for 5.11: 2020-11-04 11:49:10 +10:00
mock_dmabuf.h
mock_gem_object.h