public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/i915: Remove discontinued i915 module parameters
@ 2019-07-31 22:03 Ashutosh Dixit
  2019-08-01  6:47 ` Chris Wilson
  2019-08-01 14:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 4+ messages in thread
From: Ashutosh Dixit @ 2019-07-31 22:03 UTC (permalink / raw)
  To: igt-dev

i915 module parameters "enable_guc_submission" and "enable_execlists"
have been discontinued since 2017 so remove them from IGT too.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 lib/i915/gem_submission.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/lib/i915/gem_submission.c b/lib/i915/gem_submission.c
index a8bb45c6..7602d7f6 100644
--- a/lib/i915/gem_submission.c
+++ b/lib/i915/gem_submission.c
@@ -74,7 +74,6 @@ unsigned gem_submission_method(int fd)
 {
 	const int gen = intel_gen(intel_get_drm_devid(fd));
 	unsigned flags = 0;
-	int result;
 
 	int dir;
 
@@ -87,14 +86,7 @@ unsigned gem_submission_method(int fd)
 		goto out;
 	}
 
-	if (igt_sysfs_get_boolean(dir, "enable_guc_submission")) {
-		flags |= GEM_SUBMISSION_GUC | GEM_SUBMISSION_EXECLISTS;
-		goto out;
-	}
-
-	if (igt_sysfs_scanf(dir, "enable_execlists", "%d", &result) != 1)
-		result = gen >= 8;
-	if (result) {
+	if (gen >= 8) {
 		flags |= GEM_SUBMISSION_EXECLISTS;
 		goto out;
 	}
-- 
2.22.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-01 14:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-31 22:03 [igt-dev] [PATCH i-g-t] lib/i915: Remove discontinued i915 module parameters Ashutosh Dixit
2019-08-01  6:47 ` Chris Wilson
2019-08-01 14:57   ` Chris Wilson
2019-08-01 14:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox