[igt-dev] [PATCH i-g-t] lib/i915: Remove discontinued i915 module parameters
Ashutosh Dixit
ashutosh.dixit at intel.com
Wed Jul 31 22:03:59 UTC 2019
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 at 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
More information about the igt-dev
mailing list