summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-09-26 14:12:53 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-09-26 16:00:20 +0100
commit63baa2f9e9483e01b378b943fac5b99976c5e485 (patch)
tree1c772324314a83526234241553d4a0c5eba6db21 /lib/ioctl_wrappers.c
parent01ae6df1121152abb162dfd3784fce467757ce6c (diff)
lib: Unexport gem_gtt_type()
Nobody uses the function directly, instead using the various helpers to determine if ppgtt is present. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'lib/ioctl_wrappers.c')
-rw-r--r--lib/ioctl_wrappers.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index d992e015..0929c43f 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -954,12 +954,11 @@ bool gem_bo_busy(int fd, uint32_t handle)
* Feature test macro to check what type of gtt is being used by the kernel:
* 0 - global gtt
* 1 - aliasing ppgtt
- * 2 - full ppgtt, limited to 32bit address space
- * 3 - full ppgtt, 64bit address space
+ * 2 - full ppgtt
*
* Returns: Type of gtt being used.
*/
-int gem_gtt_type(int fd)
+static int gem_gtt_type(int fd)
{
struct drm_i915_getparam gp;
int val = 0;