[igt-dev] [i-g-t, V4 0/2] lib/i915: Use FIXED mapping only for discrete memory

Tejas Upadhyay tejaskumarx.surendrakumar.upadhyay at intel.com
Wed Sep 1 10:34:00 UTC 2021


The FIXED mapping is only used for discrete, and mapping type
is pre-defined. This disables the other type of mmap
offsets when discrete memory is used.

Taken from kernel commit:
commit 7961c5b60f23 ("drm/i915: Add TTM offset argument to mmap.")

Change is devided in two patches :
1. First patch fixes gem_has_mmap_offset_type library call
2. Sync i915_drm.h with kernel

Tejas Upadhyay (2):
  lib/i915: Use FIXED mapping only for discrete memory
  i915_drm.h sync

 include/drm-uapi/i915_drm.h |  1 +
 lib/i915/gem_mman.c         | 20 +++++++++++++++++++-
 lib/i915/i915_drm_local.h   |  2 --
 3 files changed, 20 insertions(+), 3 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list