summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/i915_params.c4
-rw-r--r--drivers/gpu/drm/i915/i915_scheduler.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
index 7d93b5b9d12c..7af28e29071e 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
@@ -59,7 +59,7 @@ struct i915_params i915 __read_mostly = {
.enable_dp_mst = true,
.inject_load_failure = 0,
.enable_scheduler = 1,
- .enable_preemption = 0,
+ .enable_preemption = 1,
};
module_param_named(modeset, i915.modeset, int, 0400);
@@ -217,4 +217,4 @@ module_param_named_unsafe(enable_scheduler, i915.enable_scheduler, int, 0600);
MODULE_PARM_DESC(enable_scheduler, "Enable scheduler (0 = disable, 1 = enable [default])");
module_param_named_unsafe(enable_preemption, i915.enable_preemption, int, 0600);
-MODULE_PARM_DESC(enable_preemption, "Enable pre-emption within scheduler (0 = disable [default], 1 = enable)");
+MODULE_PARM_DESC(enable_preemption, "Enable pre-emption within scheduler (0 = disable, 1 = enable [default])");
diff --git a/drivers/gpu/drm/i915/i915_scheduler.c b/drivers/gpu/drm/i915/i915_scheduler.c
index 2d6492e13152..808e3fdc62ff 100644
--- a/drivers/gpu/drm/i915/i915_scheduler.c
+++ b/drivers/gpu/drm/i915/i915_scheduler.c
@@ -168,7 +168,7 @@ int i915_scheduler_init(struct drm_device *dev)
scheduler->priority_level_max = 1023;
scheduler->priority_level_bump = 50;
scheduler->priority_level_preempt = 900;
- scheduler->min_flying = 2;
+ scheduler->min_flying = 8;
scheduler->file_queue_max = 64;
scheduler->dump_flags = I915_SF_DUMP_FORCE |
I915_SF_DUMP_DETAILS |