[Intel-gfx] [PATCH i-g-t 2/2] igt/perf: gem.has_ppgtt is no longer used

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 26 13:09:09 UTC 2018


Remove gem.has_ppgtt as the information is no longer used.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
---
 tests/perf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/perf.c b/tests/perf.c
index 25a6bf191..16c1adb0e 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -1547,7 +1547,6 @@ enum load {
 
 static struct load_helper {
 	int devid;
-	int has_ppgtt;
 	drm_intel_bufmgr *bufmgr;
 	drm_intel_context *context;
 	uint32_t context_id;
@@ -1630,7 +1629,6 @@ static void load_helper_init(void)
 	int ret;
 
 	lh.devid = intel_get_drm_devid(drm_fd);
-	lh.has_ppgtt = gem_uses_ppgtt(drm_fd);
 
 	/* MI_STORE_DATA can only use GTT address on gen4+/g33 and needs
 	 * snoopable mem on pre-gen6. Hence load-helper only works on gen6+, but
-- 
2.19.0



More information about the Intel-gfx mailing list