mirror_ubuntu-kernels/drivers/gpu/drm/i915/gem
Daniel Vetter c6d04e48d2 drm/i915: Rename i915_gem_context_get_vm_rcu to i915_gem_context_get_eb_vm
The important part isn't so much that this does an rcu lookup - that's
more an implementation detail, which will also be removed.

The thing that makes this different from other functions is that it's
gettting you the vm that batchbuffers will run in for that gem
context, which is either a full ppgtt stored in gem->ctx, or the ggtt.

We'll make more use of this function later on.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20210902142057.929669-5-daniel.vetter@ffwll.ch
2021-09-06 10:46:04 +02:00
..
selftests drm/i915: Rename i915_gem_context_get_vm_rcu to i915_gem_context_get_eb_vm 2021-09-06 10:46:04 +02:00
i915_gem_busy.c dma-buf: drop the _rcu postfix on function names v3 2021-06-06 11:19:51 +02:00
i915_gem_clflush.c drm/i915: Drop error handling from dma_fence_work 2021-07-16 21:47:39 +02:00
i915_gem_clflush.h
i915_gem_context_types.h drm/i915: Release i915_gem_context from a worker 2021-09-06 10:45:29 +02:00
i915_gem_context.c drm/i915: Keep gem ctx->vm alive until the final put 2021-09-06 10:45:48 +02:00
i915_gem_context.h drm/i915: Rename i915_gem_context_get_vm_rcu to i915_gem_context_get_eb_vm 2021-09-06 10:46:04 +02:00
i915_gem_create.c drm/i915: Add pci ids and uapi for DG1 2021-08-13 09:46:58 +02:00
i915_gem_dmabuf.c drm/i915/gem: Migrate to system at dma-buf attach time (v7) 2021-07-26 16:37:38 +01:00
i915_gem_domain.c drm/i915/uapi: reject set_domain for discrete 2021-07-23 11:55:32 +01:00
i915_gem_execbuffer.c drm/i915: Drop code to handle set-vm races from execbuf 2021-09-06 10:45:56 +02:00
i915_gem_internal.c drm/i915: Update object placement flags to be mutable 2021-06-24 18:50:56 +01:00
i915_gem_ioctls.h drm/i915/uapi: introduce drm_i915_gem_create_ext 2021-05-04 10:58:56 +01:00
i915_gem_lmem.c drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_lmem.h drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_mman.c drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC 2021-07-22 10:07:23 -07:00
i915_gem_mman.h drm/i915/gem: Only revoke mmap handlers if active 2020-07-02 20:46:08 +01:00
i915_gem_object_types.h drm/i915/ehl: unconditionally flush the pages on acquire 2021-07-27 09:16:46 +01:00
i915_gem_object.c drm/i915: move gem_objects slab to direct module init/exit 2021-07-28 16:45:58 +02:00
i915_gem_object.h drm/i915: move gem_objects slab to direct module init/exit 2021-07-28 16:45:58 +02:00
i915_gem_pages.c drm/i915: Remove allow_alloc from i915_gem_object_get_sg* 2021-07-16 21:47:07 +02:00
i915_gem_phys.c drm/i915: Update object placement flags to be mutable 2021-06-24 18:50:56 +01:00
i915_gem_pm.c drm/i915: Finally remove obj->mm.lock. 2021-03-24 17:47:20 +01:00
i915_gem_pm.h drm/i915/gem: Move freeze/freeze_late next to suspend/suspend_late 2021-02-08 16:56:49 -05:00
i915_gem_region.c drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_region.h drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_shmem.c drm/i915/ehl: unconditionally flush the pages on acquire 2021-07-27 09:16:46 +01:00
i915_gem_shrinker.c drm/i915: Use trylock in shrinker for ggtt on bsw vt-d and bxt, v2. 2021-04-29 11:32:32 +02:00
i915_gem_shrinker.h drm/i915: Finally remove obj->mm.lock. 2021-03-24 17:47:20 +01:00
i915_gem_stolen.c drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_stolen.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_gem_throttle.c drm/i915/gem: Remove disordered per-file request list for throttling 2020-09-07 13:13:50 +03:00
i915_gem_tiling.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_ttm.c drm/ttm, drm/i915: Update ttm_move_memcpy for async use 2021-08-25 16:05:47 +02:00
i915_gem_ttm.h drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_userptr.c drm/i915/userptr: Probe existence of backing struct pages upon creation 2021-08-05 11:34:00 +02:00
i915_gem_wait.c drm/i915/gem: Implement object migration 2021-06-30 11:32:11 +01:00
i915_gemfs.c
i915_gemfs.h