diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-06 15:34:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-06 18:57:27 +0100 |
commit | dddbc2ed136f3edf007366c2e81c3f735bd29266 (patch) | |
tree | 8ec701faef29fe7a05694a74147b1d6fb1194971 /lib/ioctl_wrappers.h | |
parent | 918863f8e3e8f49235fd2e4a36e11f386c06c11c (diff) |
lib: Disable MI_STORE_DATA_IMM for gen3 (i915g and i915gm)
The early gen3 machines inherited the MI block and restrictions from
gen2, and may only use physical addresses in conjunction with
MI_STORE_DATA_IMM -- that makes it unusable for us from userspace, where
we can only use virtual offsets.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r-- | lib/ioctl_wrappers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index 8915edca..090c1251 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -32,6 +32,7 @@ #include <stdint.h> #include <stdbool.h> +#include <sys/mman.h> #include <intel_bufmgr.h> #include <i915_drm.h> |