[PATCH v2 0/2] Add support for partial mapping

Andi Shyti andi.shyti at linux.intel.com
Fri Mar 29 16:39:57 UTC 2024


Hi,

this series based on a previous work from Chris adds support for
partial mapping.

A preparatory patch was needed in order to set the vm_pgoff when
mapping frame buffer objects. Indeed I was receiving a negative
offset at first.

Andi

Changelog:
==========
v1 -> v2:
 - Enable support for CPU memory
 - Increment vm_pgoff for fb objects

Andi Shyti (2):
  drm/i915/gem: Increment vma offset when mapping fb objects
  drm/i915/gem: Calculate object page offset for partial memory mapping

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

-- 
2.43.0



More information about the Intel-gfx mailing list