[Intel-gfx] [PATCH 03/20] drm/i915: TDR / per-engine hang recovery support for gen8.
Chris Wilson
chris at chris-wilson.co.uk
Wed Jan 13 13:21:38 PST 2016
On Wed, Jan 13, 2016 at 05:28:15PM +0000, Arun Siluvery wrote:
> diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
> index 8d90c25..5cf9c11 100644
> --- a/drivers/gpu/drm/i915/i915_params.c
> +++ b/drivers/gpu/drm/i915/i915_params.c
> @@ -37,6 +37,8 @@ struct i915_params i915 __read_mostly = {
> .enable_fbc = -1,
> .enable_execlists = -1,
> .enable_hangcheck = true,
> + .enable_engine_reset = false,
Can we combine this with the existing i915.reset?
reset == 1 => full reset only
reset == 2 => per-engine reset, with fallback to full reset
Looks like we can. Remember this is a user parameter and they like to
mess around, fewer options means less maintenance, less hassle for us.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list