From 97a6f0b56ad9c4339be49a955671ebfc47b3133d Mon Sep 17 00:00:00 2001 From: Andrzej Turko Date: Mon, 11 Jan 2021 11:17:50 +0000 Subject: 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 Reviewed-by: Chris Wilson Signed-off-by: Chris Wilson --- lib/i915/gem_mman.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/i915/gem_mman.h') 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); -- cgit v1.2.3