All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] sanitize RPS interrupt enabling/disabling
@ 2014-11-05 18:48 Imre Deak
  2014-11-07 20:42 ` Paulo Zanoni
  2014-11-18 16:04 ` Paulo Zanoni
  0 siblings, 2 replies; 6+ messages in thread
From: Imre Deak @ 2014-11-05 18:48 UTC (permalink / raw)
  To: intel-gfx; +Cc: shuang.he

While fixing [1] I noticed that we can simplify a couple of things in
the RPS enabling/disabling code. So I did that and also fixed one WARN
that we can hit with some of the pm_rpm subtests. Hopefully these
changes also makes it clearer how we avoid the race during RPS interrupt
disabling and makes it less fragile (see the comment in patch 7/8).

[1] https://bugs.freedesktop.org/show_bug.cgi?id=82939

Imre Deak (8):
  drm/i915: unify gen6/gen8 pm irq helpers
  drm/i915: unify gen6/gen8 rps irq handler
  drm/i915: unify gen6/gen8 rps irq enable/disable
  drm/i915: move rps irq enable/disable to i915_irq.c
  drm/i915: move rps irq disable one level up
  drm/i915: sanitize rps irq enabling
  drm/i915: sanitize rps irq disabling
  drm/i915: disable rps irqs earlier during suspend/unload

 drivers/gpu/drm/i915/i915_drv.c      |   9 +--
 drivers/gpu/drm/i915/i915_drv.h      |   6 +-
 drivers/gpu/drm/i915/i915_irq.c      | 122 +++++++++++++++++++----------------
 drivers/gpu/drm/i915/intel_display.c |   6 +-
 drivers/gpu/drm/i915/intel_drv.h     |   5 +-
 drivers/gpu/drm/i915/intel_pm.c      |  90 +++-----------------------
 6 files changed, 90 insertions(+), 148 deletions(-)

-- 
1.8.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2014-11-18 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 18:48 [PATCH 0/8] sanitize RPS interrupt enabling/disabling Imre Deak
2014-11-07 20:42 ` Paulo Zanoni
2014-11-08 12:57   ` Imre Deak
2014-11-11 10:29     ` Daniel Vetter
2014-11-18 16:04 ` Paulo Zanoni
2014-11-18 16:08   ` Imre Deak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.