drm/i915: Expose retry count to per gen reset logic
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 10 Aug 2018 14:00:35 +0000 (17:00 +0300)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 13 Aug 2018 13:59:59 +0000 (16:59 +0300)
commite02e65001e7b436f3590ec6acff259ec54689df5
treebb043495059d7e9961d6f3b32eadeddf088da299
parent41db645a33e775855aeeec1a437d5c1e24ff6c88
drm/i915: Expose retry count to per gen reset logic

There is a possibility for per gen reset logic to
be more nasty if the softer approach on resetting does
not bear fruit.

Expose retry count to per gen reset logic if it
wants to take such tough measures.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180810140036.24240-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/intel_uncore.c