From b0789992cefc3b08fb5fd891522a116b367c3963 Mon Sep 17 00:00:00 2001 From: Andrzej Turko Date: Wed, 26 May 2021 14:00:18 +0100 Subject: lib/i915/gem_create: Add gem_create_ext Add a wrapper for gem_create_ext ioctl (a version of gem_create that accepts extensions). In preparation for the driver change implementing it, a local definition of its id and necessary structs have been added, which are to be erased as soon as those definitions appear in the i915_drm.h file. The new ioctl wrapper is added to a separate file. For consistency the wrapper of the old ioctl, gem_create is moved from ioctl_wrappers to gem_create. Signed-off-by: Andrzej Turko Cc: Zbigniew Kempczynski Cc: Dominik Grzegorzek Cc: Petri Latvala Cc: Chris P Wilson Signed-off-by: Matthew Auld Acked-by: Petri Latvala --- tools/intel_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/intel_reg.c') diff --git a/tools/intel_reg.c b/tools/intel_reg.c index da1832be..584a2ccd 100644 --- a/tools/intel_reg.c +++ b/tools/intel_reg.c @@ -32,7 +32,7 @@ #include #include -#include "i915/gem.h" +#include "i915/gem_create.h" #include "igt.h" #include "igt_gt.h" #include "intel_io.h" -- cgit v1.2.3