]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt/dgfx: place the PD in LMEM
authorMatthew Auld <matthew.auld@intel.com>
Tue, 27 Apr 2021 08:54:14 +0000 (09:54 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 27 Apr 2021 15:21:47 +0000 (16:21 +0100)
commitd002e2a3208d22576f1a03ae8787ee10b90214a7
treef39994fc4fbd430180e4448c422482a7951f7e41
parent46d3a63f736ef35db71f133297a56fe395ebb451
drm/i915/gtt/dgfx: place the PD in LMEM

It's a requirement that for dgfx we place all the paging structures in
device local-memory.

v2: use i915_coherent_map_type()
v3: improve the shared dma-resv object comment

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210427085417.120246-4-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
drivers/gpu/drm/i915/gt/intel_gtt.c
drivers/gpu/drm/i915/gt/intel_gtt.h