lib: Restore gem_available_aperture_size()

Missed an error whilst rebasing and trying to modify the previous patch
to keep this function intact... Instead, I now have to add this patch to
restore gem_available_aperture_size() and its one usage.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2016-02-18 10:35:10 +00:00
parent 391b32c382
commit 16038908de
3 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -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_global_aperture_size(fd);
total_aperture_size = gem_available_aperture_size(fd);
igt_require(total_fbs_size < total_aperture_size * 0.9);
igt_plane_set_fb(plane, NULL);