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

Arun Siluvery arun.siluvery at linux.intel.com
Wed Jan 13 09:28:32 PST 2016


From: Tomas Elf <tomas.elf at intel.com>

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 5cf9c11..c098a5a 100644
--- a/drivers/gpu/drm/i915/i915_params.c
+++ b/drivers/gpu/drm/i915/i915_params.c
@@ -37,7 +37,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,
@@ -123,7 +123,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