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 --- tests/i915/gem_tiled_wc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/i915/gem_tiled_wc.c') diff --git a/tests/i915/gem_tiled_wc.c b/tests/i915/gem_tiled_wc.c index 898aad40..29ea700e 100644 --- a/tests/i915/gem_tiled_wc.c +++ b/tests/i915/gem_tiled_wc.c @@ -44,7 +44,7 @@ #include #include "drm.h" -#include "i915/gem.h" +#include "i915/gem_create.h" #define WIDTH 512 #define HEIGHT 512 -- cgit v1.2.3