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

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 26 13:09:08 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/pm_sseu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/pm_sseu.c b/tests/pm_sseu.c
index 1274e1fa6..5fdcbef22 100644
--- a/tests/pm_sseu.c
+++ b/tests/pm_sseu.c
@@ -40,7 +40,6 @@ static struct {
 	int drm_fd;
 	int devid;
 	int gen;
-	int has_ppgtt;
 	drm_intel_bufmgr *bufmgr;
 	struct intel_batchbuffer *batch;
 	igt_media_spinfunc_t spinfunc;
@@ -290,8 +289,6 @@ gem_init(void)
 	gem.spinfunc = igt_get_media_spinfunc(gem.devid);
 	igt_require(gem.spinfunc);
 
-	gem.has_ppgtt = gem_uses_ppgtt(gem.drm_fd);
-
 	gem.bufmgr = drm_intel_bufmgr_gem_init(gem.drm_fd, 4096);
 	igt_assert(gem.bufmgr);
 	gem.init = 2;
-- 
2.19.0



More information about the Intel-gfx mailing list