diff options
| author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2019-07-31 15:03:59 -0700 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-01 15:57:00 +0100 |
| commit | b3138fbea79d5d7935e53530b90efe3e816236f4 (patch) | |
| tree | 9c50e8e0aa335fd11ecc0683891b1e21ac1071dc /lib | |
| parent | b646668b947851459e0aec0ecfc54e9ed5503bfc (diff) | |
lib/i915: Remove discontinued i915 module parameters
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>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/i915/gem_submission.c | 10 |
1 files changed, 1 insertions, 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; } |
