Skip to content

sanitize RPS interrupt enabling/disabling

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: unify gen6/gen8 pm irq helpersdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+11 -520 replies
2/8drm/i915: unify gen6/gen8 rps irq handlerdrivers/gpu/drm/i915/i915_irq.c+4 -140 replies
3/8drm/i915: unify gen6/gen8 rps irq enable/disabledrivers/gpu/drm/i915/intel_pm.c+15 -380 replies
4/8drm/i915: move rps irq enable/disable to i915_irq.cdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+45 -413 replies
5/8drm/i915: move rps irq disable one level updrivers/gpu/drm/i915/intel_pm.c+3 -61 reply
6/8drm/i915: sanitize rps irq enablingdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+16 -97 replies
7/8drm/i915: sanitize rps irq disablingdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_pm.c+25 -113 replies
8/8drm/i915: disable rps irqs earlier during suspend/unloaddrivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_pm.c+6 -120 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchPRC QA PRTS (Patch Regression Test System Contact:
1/8
2/8
3/8
4/8T-b
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] sanitize RPS interrupt enabling/disabling

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(-)
Signature · 6 lines
1.8.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx