summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-02-05 18:35:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-02-18 10:30:56 +0000
commit391b32c3822993a6dd5874d2898b0c16b8eb9d03 (patch)
tree630469f4b2578ef87f085fdab6dc1b75f6b69138 /lib/ioctl_wrappers.h
parente85c530eab9ef20b2708ff36bfc6f6fa3990e1f4 (diff)
igt: Report the global GTT size
For many tests, the relevant aperture is not the ppGTT but the internal global GTT managed by the kernel. Use this limit appropriately. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r--lib/ioctl_wrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h
index 200b2dab..691dc013 100644
--- a/lib/ioctl_wrappers.h
+++ b/lib/ioctl_wrappers.h
@@ -143,8 +143,8 @@ int gem_gtt_type(int fd);
bool gem_uses_ppgtt(int fd);
bool gem_uses_full_ppgtt(int fd);
int gem_available_fences(int fd);
-uint64_t gem_available_aperture_size(int fd);
uint64_t gem_aperture_size(int fd);
+uint64_t gem_global_aperture_size(int fd);
uint64_t gem_mappable_aperture_size(void);
bool gem_has_softpin(int fd);