mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user