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 /lib/igt_dummyload.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 'lib/igt_dummyload.c')
-rw-r--r-- | lib/igt_dummyload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c index 34ad92216..1a3abb5dc 100644 --- a/lib/igt_dummyload.c +++ b/lib/igt_dummyload.c @@ -31,7 +31,7 @@ #include <i915_drm.h> #include "drmtest.h" -#include "i915/gem.h" +#include "i915/gem_create.h" #include "i915/gem_engine_topology.h" #include "i915/gem_mman.h" #include "i915/gem_submission.h" |