[PATCH 0/2] Allow partial memory mapping for cpu memory

Andi Shyti andi.shyti at linux.intel.com
Wed Aug 7 10:05:19 UTC 2024


Hi,

This patch series concludes on the memory mapping fixes and
improvements by allowing partial memory mapping for the cpu
memory as well.

The partial memory mapping by adding an object offset was
implicitely included in commit 8bdd9ef7e9b1 ("drm/i915/gem: Fix
Virtual Memory mapping boundaries calculation") for the gtt
memory.

Andi

Andi Shyti (2):
  drm/i915/gem: Do not look for the exact address in node
  drm/i915/gem: Calculate object page offset for partial memory mapping

 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 10 ++++++----
 drivers/gpu/drm/i915/i915_mm.c           | 12 +++++++++++-
 drivers/gpu/drm/i915/i915_mm.h           |  3 ++-
 3 files changed, 19 insertions(+), 6 deletions(-)

-- 
2.45.2



More information about the Intel-gfx mailing list