public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 00/12] MMIO workaround list
@ 2015-10-06 14:26 Mika Kuoppala
  2015-10-06 14:26 ` [PATCH 01/12] drm/i915: Prepare for multiple workaround lists Mika Kuoppala
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: Mika Kuoppala @ 2015-10-06 14:26 UTC (permalink / raw)
  To: intel-gfx; +Cc: miku

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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-10-07 14:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 14:26 [PATCH 00/12] MMIO workaround list Mika Kuoppala
2015-10-06 14:26 ` [PATCH 01/12] drm/i915: Prepare for multiple workaround lists Mika Kuoppala
2015-10-06 14:26 ` [PATCH 02/12] drm/i915: Raise the amount of workarounds one list has Mika Kuoppala
2015-10-06 14:26 ` [PATCH 03/12] drm/i915: Don't return inside WA_REG macro Mika Kuoppala
2015-10-06 14:26 ` [PATCH 04/12] drm/i915: Move workaround macros to i915_drv.h Mika Kuoppala
2015-10-06 14:26 ` [PATCH 05/12] drm/i915: Specify the wa list in WA_* macros Mika Kuoppala
2015-10-06 14:26 ` [PATCH 06/12] drm/i915: Introduce mmio workaround list Mika Kuoppala
2015-10-06 14:26 ` [PATCH 07/12] drm/i915: Write mmio workarounds after gpu reset Mika Kuoppala
2015-10-07  8:43   ` Chris Wilson
2015-10-07 13:52     ` Ville Syrjälä
2015-10-07 14:23       ` Daniel Vetter
2015-10-07 14:22   ` Daniel Vetter
2015-10-06 14:26 ` [PATCH 08/12] drm/i915: Use mmio workaround list for skl/bxt Mika Kuoppala
2015-10-06 14:26 ` [PATCH 09/12] drm/i915/bdw: Use mmio workarounds in init clock gating Mika Kuoppala
2015-10-06 14:26 ` [PATCH 10/12] drm/i915/hsw: " Mika Kuoppala
2015-10-06 14:26 ` [PATCH 11/12] drm/i915/ivb: " Mika Kuoppala
2015-10-06 14:26 ` [PATCH 12/12] drm/i915/ivb: Simplify row chicken setup logic Mika Kuoppala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox