diff options
author | Andrzej Turko <andrzej.turko@linux.intel.com> | 2021-05-26 14:00:18 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-05-27 11:36:21 +0100 |
commit | b0789992cefc3b08fb5fd891522a116b367c3963 (patch) | |
tree | cdbbeef3017df11916a648e38c52a80b26618cb8 /tests/i915/gem_exec_capture.c | |
parent | 072973f7f70f4c0b7f070b442d2ca8ec1c4fd60d (diff) |
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 <andrzej.turko@linux.intel.com>
Cc: Zbigniew Kempczynski <zbigniew.kempczynski@intel.com>
Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Chris P Wilson <chris.p.wilson@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/i915/gem_exec_capture.c')
-rw-r--r-- | tests/i915/gem_exec_capture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i915/gem_exec_capture.c b/tests/i915/gem_exec_capture.c index 3da78d63..a6b3d987 100644 --- a/tests/i915/gem_exec_capture.c +++ b/tests/i915/gem_exec_capture.c @@ -25,6 +25,7 @@ #include <zlib.h> #include "i915/gem.h" +#include "i915/gem_create.h" #include "igt.h" #include "igt_device.h" #include "igt_rand.h" |