[Intel-gfx] [PATCH 1/2] drm/i915/gt: obey "reset" module parameter

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 18 11:58:00 UTC 2020


Quoting Marcin Ślusarz (2020-08-18 12:36:07)
> From: Marcin Ślusarz <marcin.slusarz at intel.com>
> 
> For some reason intel_gt_reset attempts to reset the GPU twice.
> On one code path (do_reset) "reset" parameter is obeyed, but is
> not on the other one (__intel_gt_set_wedged).

It's not that simple, we do want to force __intel_gt_set_wedged() to
cancel whatever is running on the GPU as it is used for more than just
failing resets (e.g. around control boundaries) regardless of what the
user may want.

I'm loathe to add a parameter just to enable unsafe behaviour, but that
may be the compromise.
-Chris


More information about the Intel-gfx mailing list