OpenCloudOS-Kernel/drivers/gpu/drm/i915/gem
Chris Wilson 0175969e48 drm/i915/gem: Use shrinkable status for unknown swizzle quirks
Give obj->mm.quirked a name much more reflective of its purpose
(i915_gem_object_has_tiling_quirk) and move it from the obj->mm field as
it doesn't denote a quirk of the backing store, but a quirk in the
object in its treatment of the backing pages, similar to tiling modes.

Then instead of abusing the pinned status of the buffer to protect it
from the shrinker, we can instead hide the buffer from the shrinker so
it is never considered for being swapped.

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/20210119214336.1463-4-chris@chris-wilson.co.uk
2021-01-20 21:01:33 +00:00
..
selftests drm/i915/selftests: Allow huge_gem_object to kick the shrinker 2021-01-12 09:47:24 +00:00
i915_gem_busy.c drm/i915: Align engine->uabi_class/instance with i915_drm.h 2020-01-20 09:13:01 +00:00
i915_gem_clflush.c drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT 2020-05-09 12:57:57 +01:00
i915_gem_clflush.h
i915_gem_client_blt.c drm/i915/gem: Perform all asynchronous waits prior to marking payload start 2020-11-03 15:00:06 +00:00
i915_gem_client_blt.h
i915_gem_context.c drm/i915/gem: Reduce ctx->engines_mutex for get_engines() 2021-01-15 08:00:03 +00:00
i915_gem_context.h drm/i915/gem: Drop free_work for GEM contexts 2020-12-16 15:14:09 +00:00
i915_gem_context_types.h drm/i915/gem: Drop free_work for GEM contexts 2020-12-16 15:14:09 +00:00
i915_gem_create.c drm/i915/gem: sanity check object size in gem_create 2021-01-15 08:00:03 +00:00
i915_gem_dmabuf.c mm: introduce vma_set_file function v5 2020-11-19 10:36:36 +01:00
i915_gem_domain.c drm/i915/gem: Make i915_gem_object_flush_write_domain() static 2021-01-19 20:47:25 +00:00
i915_gem_execbuffer.c drm/i915/pool: constrain pool objects by mapping type 2021-01-19 20:36:28 +00:00
i915_gem_fence.c drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT 2020-05-09 12:57:57 +01:00
i915_gem_internal.c drm/i915/gem: Give each object class a friendly name 2020-05-29 23:38:29 +01:00
i915_gem_ioctls.h drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET 2019-12-04 15:11:44 +00:00
i915_gem_lmem.c drm/i915/region: convert object_create into object_init 2021-01-15 08:00:03 +00:00
i915_gem_lmem.h drm/i915/region: convert object_create into object_init 2021-01-15 08:00:03 +00:00
i915_gem_mman.c mm: introduce vma_set_file function v5 2020-11-19 10:36:36 +01: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.c drm/i915/gem: Make i915_gem_object_flush_write_domain() static 2021-01-19 20:47:25 +00:00
i915_gem_object.h drm/i915/gem: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_object_blt.c drm/i915/pool: constrain pool objects by mapping type 2021-01-19 20:36:28 +00:00
i915_gem_object_blt.h drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2. 2020-09-07 14:31:22 +03:00
i915_gem_object_types.h drm/i915/gem: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_pages.c drm/i915/gem: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_phys.c drm/i915/gem: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_pm.c drm/i915/gem: Almagamate clflushes on suspend 2021-01-20 20:46:35 +00:00
i915_gem_pm.h drm/i915: Teach record_defaults to operate on the intel_gt 2019-10-22 20:43:07 +01:00
i915_gem_region.c drm/i915/region: don't leak the object on error 2021-01-20 11:11:24 +00:00
i915_gem_region.h drm/i915/region: support contiguous allocations 2019-10-08 20:50:01 +01:00
i915_gem_shmem.c drm/i915/gem: Move stolen node into GEM object union 2021-01-20 20:46:36 +00:00
i915_gem_shrinker.c drm/i915/gem: Optimistically prune dma-resv from the shrinker. 2020-12-23 21:58:00 +00:00
i915_gem_shrinker.h
i915_gem_stolen.c drm/i915/gem: Move stolen node into GEM object union 2021-01-20 20:46:36 +00:00
i915_gem_stolen.h drm/i915/gem: Move stolen node into GEM object union 2021-01-20 20:46:36 +00: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: Use shrinkable status for unknown swizzle quirks 2021-01-20 21:01:33 +00:00
i915_gem_userptr.c lib/scatterlist: Add support in dynamic allocation of SG table from pages 2020-10-05 20:45:45 -03:00
i915_gem_wait.c drm/i915/display: Apply interactive priority to explicit flip fences 2021-01-19 23:22:33 +00:00
i915_gemfs.c
i915_gemfs.h