[Intel-gfx] [PATCH] drm/i915: Cancel persistent contexts if !hangcheck

Andi Shyti andi.shyti at intel.com
Tue Aug 6 08:35:49 UTC 2019


Hi Chris,

> +static void kill_context(struct i915_gem_context *ctx)
> +{
> +	struct i915_gem_engines_iter it;
> +	struct intel_engine_cs *engine;
> +	intel_engine_mask_t tmp, active;
> +	struct intel_context *ce;
> +
> +	if (i915_gem_context_is_banned(ctx))
> +		return;

just a question, if a context is "banned", don't we want to check
on the requests anyway?

> +++ b/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c

heartbeat? I like it :)

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list