Hi, This series was inspired by founding out: https://bugs.freedesktop.org/show_bug.cgi?id=92315 and that we still lose some of the workarounds after reset/suspend cycle. We did build a list for LRI emitted workarounds in past to combat this same issue and checked that contexts retain wa registers with igt/gem_workarounds. This series expands the same mechanism to keep track of mmio workarounds across reset/resume and gain test coverage with gem_workarounds. So 8/12 is the crux of the series, by curing the possible system hang after any recoverable gpu hang. But I have also moved few other gens to use the mmio workaround list as an example. And also because I noticed that with ivybridge we also lose few registers on reset. If this is the path to go, more gens can be converted. There was temptation to move the workaround list code and also the buildup of lists to a separate file. But as Arun has/had large series of WAs in flight, I decided not to. Mika Kuoppala (12): drm/i915: Prepare for multiple workaround lists drm/i915: Raise the amount of workarounds one list has drm/i915: Don't return inside WA_REG macro drm/i915: Move workaround macros to i915_drv.h drm/i915: Specify the wa list in WA_* macros drm/i915: Introduce mmio workaround list drm/i915: Write mmio workarounds after gpu reset drm/i915: Use mmio workaround list for skl/bxt drm/i915/bdw: Use mmio workarounds in init clock gating drm/i915/hsw: Use mmio workarounds in init clock gating drm/i915/ivb: Use mmio workarounds in init clock gating drm/i915/ivb: Simplify row chicken setup logic drivers/gpu/drm/i915/i915_debugfs.c | 41 ++++-- drivers/gpu/drm/i915/i915_drv.h | 45 ++++++- drivers/gpu/drm/i915/i915_irq.c | 2 + drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/intel_lrc.c | 2 +- drivers/gpu/drm/i915/intel_pm.c | 231 +++++++++++++++++--------------- drivers/gpu/drm/i915/intel_ringbuffer.c | 103 ++++++-------- drivers/gpu/drm/i915/intel_uncore.c | 12 ++ 8 files changed, 251 insertions(+), 187 deletions(-) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx