diff options
author | Andrzej Turko <andrzej.turko@linux.intel.com> | 2021-01-11 11:17:50 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-11 11:51:48 +0000 |
commit | 97a6f0b56ad9c4339be49a955671ebfc47b3133d (patch) | |
tree | 5235230793c120339e644526733ab2f942dce7d2 /lib/i915/gem_mman.h | |
parent | 65c5eea699141e6f942ce0a8fc85db76ce53cd19 (diff) |
lib/i915: Split gem_create.c from ioctl_wrappers.c
In preparation for a variation on the exisiting GEM_CREATE API, split
the ioctl from out of the large ioctl_wrappers.c
Signed-off-by: Andrzej Turko <andrzej.turko@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/i915/gem_mman.h')
-rw-r--r-- | lib/i915/gem_mman.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/i915/gem_mman.h b/lib/i915/gem_mman.h index ec2899ff..4a69b259 100644 --- a/lib/i915/gem_mman.h +++ b/lib/i915/gem_mman.h @@ -42,10 +42,6 @@ void *gem_mmap__device_coherent(int fd, uint32_t handle, uint64_t offset, void *gem_mmap__cpu_coherent(int fd, uint32_t handle, uint64_t offset, uint64_t size, unsigned prot); -#ifndef I915_GEM_DOMAIN_WC -#define I915_GEM_DOMAIN_WC 0x80 -#endif - bool gem_has_mappable_ggtt(int i915); void gem_require_mappable_ggtt(int i915); bool gem_has_mmap_offset(int fd); |