[Intel-gfx] [PATCH v2] drm/i915: Wait for concurrent global resets to complete

Michel Thierry michel.thierry at intel.com
Mon Jun 19 22:39:09 UTC 2017


On 19/06/17 08:37, Chris Wilson wrote:
> If we enter i915_handle_error() a second time and a global reset is
> already in progress, we can simply wait for completion of the first
> reset. Currently we exit earlier prior to the actual reset being
> performed -- the worst of both worlds!
>
> v2: Plug into the existing reset_queue, and remember that kselftests is
> playing games with I915_RESET_BACKOFF to prevent hangcheck from screwing
> up.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Michel Thierry <michel.thierry at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_irq.c                  | 23 +++++++++++------------
>  drivers/gpu/drm/i915/selftests/intel_hangcheck.c |  4 ++++
>  2 files changed, 15 insertions(+), 12 deletions(-)
>

Reviewed-by: Michel Thierry <michel.thierry at intel.com>

And thanks for renaming i915_reset_and_wakeup, it looks better when 
reset_engine is also there.


More information about the Intel-gfx mailing list