mirror_ubuntu-kernels/drivers/gpu/drm/i915/gem
Matthew Auld b3f450d9e1 drm/i915: use consistent CPU mappings for pin_map users
For discrete, users of pin_map() needs to obey the same rules at the TTM
backend, where we map system only objects as WB, and everything else as
WC. The simplest for now is to just force the correct mapping type as
per the new rules for discrete.

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210705135310.1502437-1-matthew.auld@intel.com
2021-07-09 10:00:41 +01:00
..
selftests drm/i915/gem: Roll all of context creation together 2021-07-08 19:49:33 +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: Rework clflush to work correctly without obj->mm.lock. 2021-03-24 17:27:20 +01:00
i915_gem_clflush.h
i915_gem_context_types.h drm/i915/gem: Delay context creation (v3) 2021-07-08 19:48:52 +02:00
i915_gem_context.c drm/i915: Finalize contexts in GEM_CONTEXT_CREATE on version 13+ 2021-07-08 19:49:39 +02:00
i915_gem_context.h drm/i915/gem: Delay context creation (v3) 2021-07-08 19:48:52 +02:00
i915_gem_create.c drm/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01:00
i915_gem_dmabuf.c drm/i915: Fix i915_sg_page_sizes to record dma segments rather than physical pages 2021-06-01 09:33:08 +01:00
i915_gem_domain.c drm/i915/display: Migrate objects to LMEM if possible for display 2021-06-30 11:32:53 +01:00
i915_gem_execbuffer.c drm/i915/gem: Return an error ptr from context_lookup 2021-07-08 19:48:23 +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: Reinstate the mmap ioctl for some platforms 2021-06-25 10:08:56 +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_types.h drm/i915/gem: Implement object migration 2021-06-30 11:32:11 +01:00
i915_gem_object.c drm/i915: use consistent CPU mappings for pin_map users 2021-07-09 10:00:41 +01:00
i915_gem_object.h drm/i915: use consistent CPU mappings for pin_map users 2021-07-09 10:00:41 +01:00
i915_gem_pages.c drm/i915: use consistent CPU mappings for pin_map users 2021-07-09 10:00:41 +01: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: support forcing the page size with lmem 2021-06-30 13:24:29 +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/i915: support forcing the page size with lmem 2021-06-30 13:24:29 +01: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: Update object placement flags to be mutable 2021-06-24 18:50:56 +01: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