[Intel-gfx] [PATCH 20/20] drm/i915: Enable TDR / per-engine hang recovery

Tomas Elf tomas.elf at intel.com
Thu Oct 22 18:32:42 PDT 2015


This is the final enablement patch for per-engine hang recovery. It sets up
per-engine hang recovery to be used per default in favour of full GPU reset.
Legacy full GPU reset will no longer be the preferred mode of hang recovery and
will only be used as a fall-back in case of frequent hangs on individual
engines or in the case of engine hang recovery failures.

Signed-off-by: Tomas Elf <tomas.elf at intel.com>
---
 drivers/gpu/drm/i915/i915_params.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
index 83bf18e..55bb454 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
@@ -35,7 +35,7 @@ struct i915_params i915 __read_mostly = {
 	.enable_fbc = -1,
 	.enable_execlists = -1,
 	.enable_hangcheck = true,
-	.enable_engine_reset = false,
+	.enable_engine_reset = true,
 	.gpu_reset_promotion_time = 10,
 	.enable_ppgtt = -1,
 	.enable_psr = 0,
@@ -115,7 +115,7 @@ MODULE_PARM_DESC(enable_engine_reset,
 	"Enable GPU engine hang recovery mode. Used as a soft, low-impact form "
 	"of hang recovery that targets individual GPU engines rather than the "
 	"entire GPU"
-	"(default: false)");
+	"(default: true)");
 
 module_param_named(gpu_reset_promotion_time,
                i915.gpu_reset_promotion_time, int, 0644);
-- 
1.9.1



More information about the Intel-gfx mailing list