diff mbox series

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

Message ID 20180926130909.19617-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t,1/2] igt/pm_sseu: gem.has_ppgtt is no longer used | expand

Commit Message

Chris Wilson Sept. 26, 2018, 1:09 p.m. UTC
Remove gem.has_ppgtt as the information is no longer used.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
---
 tests/pm_sseu.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

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;