mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
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>
This commit is contained in:
@@ -86,7 +86,7 @@ static void big_exec(int fd, uint32_t handle, int ring)
|
||||
struct drm_i915_gem_execbuffer2 execbuf;
|
||||
struct drm_i915_gem_exec_object2 *gem_exec;
|
||||
uint32_t ctx_id1, ctx_id2;
|
||||
int num_buffers = gem_available_aperture_size(fd) / 4096;
|
||||
int num_buffers = gem_global_aperture_size(fd) / 4096;
|
||||
int i;
|
||||
|
||||
/* Make sure we only fill half of RAM with gem objects. */
|
||||
|
||||
Reference in New Issue
Block a user