diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-02-05 18:35:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-02-18 10:30:56 +0000 |
commit | 391b32c3822993a6dd5874d2898b0c16b8eb9d03 (patch) | |
tree | 630469f4b2578ef87f085fdab6dc1b75f6b69138 /tests/kms_rotation_crc.c | |
parent | e85c530eab9ef20b2708ff36bfc6f6fa3990e1f4 (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 'tests/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index f94f8f12..730371e8 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -418,7 +418,7 @@ static void test_plane_rotation_exhaust_fences(data_t *data, enum igt_plane plan * for creating (MAX_FENCES+1) framebuffers. */ total_fbs_size = size * (MAX_FENCES + 1); - total_aperture_size = gem_available_aperture_size(fd); + total_aperture_size = gem_global_aperture_size(fd); igt_require(total_fbs_size < total_aperture_size * 0.9); igt_plane_set_fb(plane, NULL); |