diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-07-30 09:53:38 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-08-06 12:08:46 +0200 |
commit | e39de04cfe55630353b1f8002b40e10a5000f801 (patch) | |
tree | 03128d42329c53fbe504e04c9593b45e0f7f18f2 /lib/i915/i915_drm_local.h | |
parent | f8d377e5a3f306a94b4114bc77a15f4d682aaa3c (diff) |
lib/i915/gem_mman: add FIXED mmap mode
We need this for discrete.
v2(Ashutosh):
- use the new i915_drm_local.h infrastructure, and drop the LOCAL prefix
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/i915/i915_drm_local.h')
-rw-r--r-- | lib/i915/i915_drm_local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h index dd646aed..0e3cef81 100644 --- a/lib/i915/i915_drm_local.h +++ b/lib/i915/i915_drm_local.h @@ -20,6 +20,8 @@ extern "C" { * clean these up when kernel uapi headers are sync'd. */ +#define I915_MMAP_OFFSET_FIXED 4 + #if defined(__cplusplus) } #endif |