Skip to content

Split driver init step to phases

Imre Deak intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest19 patches 9 repliesIn review
  2. v217 patches 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19Fix MCHBAR cleanup on the driver init error pathdrivers/gpu/drm/i915/i915_dma.c+0 -10 replies
2/19drm/i915: Move load time PCH detect, DPIO, power domain SW init earlierdrivers/gpu/drm/i915/i915_dma.c+5 -70 replies
3/19drm/i915: Move load time IRQ SW init earlierdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_irq.c+4 -30 replies
4/19drm/i915: Move load time init of display/audio hooks earlierdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/intel_audio.c drivers/gpu/drm/i915/intel_display.c +1 more+51 -530 replies
5/19drm/i915: Move load time init of clock gating hooks earlierdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+58 -350 replies
6/19drm/i915: Move load time runtime device info init earlierdrivers/gpu/drm/i915/i915_dma.c+2 -20 replies
7/19drm/i915: Move load time gem_load_init earlierdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c+29 -193 replies
8/19drm/i915: Move load time runtime PM get laterdrivers/gpu/drm/i915/i915_dma.c+2 -20 replies
9/19drm/i915: Move load time shrinker registration laterdrivers/gpu/drm/i915/i915_dma.c+4 -80 replies
10/19drm/i915: Move load time audio component registration earlierdrivers/gpu/drm/i915/i915_dma.c+4 -40 replies
11/19drm/i915: Move unload time display power domain uninit laterdrivers/gpu/drm/i915/i915_dma.c+6 -10 replies
12/19drm/i915: Move unload time GTT, MSI IRQ cleanup laterdrivers/gpu/drm/i915/i915_dma.c+4 -70 replies
13/19drm/i915: Move unload time opregion unregistration earlierdrivers/gpu/drm/i915/i915_dma.c+1 -20 replies
14/19drm/i915: Split out load time early initializationdrivers/gpu/drm/i915/i915_dma.c+81 -490 replies
15/19drm/i915: Split out load time MMIO initializationdrivers/gpu/drm/i915/i915_dma.c+50 -190 replies
16/19drm/i915: Split out load time HW initializationdrivers/gpu/drm/i915/i915_dma.c+75 -470 replies
17/19drm/i915: Split out load time interface registrationdrivers/gpu/drm/i915/i915_dma.c+54 -290 replies
18/19drm/i915: Fix power domain HW state cleanup on error pathdrivers/gpu/drm/i915/i915_dma.c+3 -30 replies
19/19drm/i915: Add fault injection supportdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_params.c +1 more+37 -05 replies

Reviews trailers per patch

2 of 19 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid WeinehallChris Wilson
SeriesR-b
1/19R-b
2/19
3/19
4/19
5/19
6/19
7/19R-b
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

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

Read the v3 thread

Cover letter [PATCH v3 00/19] Split driver init step to phases

This is v3 of [1]. It includes now the fault injection patches Chris requested and addresses comments from Daniel and Joonas. Since IGT has by now an updated drv_module_reload_basic too using load failure injection, CI hopefully catches any problems introduced by this patchset.

CC Chris Wilson <[email protected]>
CC Jani Nikula <[email protected]>
CC Ander Conselvan de Oliveira <[email protected]>
CC Joonas Lahtinen <[email protected]>
CC Daniel Vetter <[email protected]>

[1]
https://lists.freedesktop.org/archives/intel-gfx/2016-March/089596.html

Imre Deak (19):
Fix MCHBAR cleanup on the driver init error path drm/i915: Move load time PCH detect, DPIO, power domain SW init
earlier
drm/i915: Move load time IRQ SW init earlier drm/i915: Move load time init of display/audio hooks earlier drm/i915: Move load time init of clock gating hooks earlier drm/i915: Move load time runtime device info init earlier drm/i915: Move load time gem_load_init earlier drm/i915: Move load time runtime PM get later drm/i915: Move load time shrinker registration later drm/i915: Move load time audio component registration earlier drm/i915: Move unload time display power domain uninit later drm/i915: Move unload time GTT, MSI IRQ cleanup later drm/i915: Move unload time opregion unregistration earlier drm/i915: Split out load time early initialization drm/i915: Split out load time MMIO initialization drm/i915: Split out load time HW initialization drm/i915: Split out load time interface registration drm/i915: Fix power domain HW state cleanup on error path drm/i915: Add fault injection support

 drivers/gpu/drm/i915/i915_dma.c      | 399 ++++++++++++++++++++++++-----------
 drivers/gpu/drm/i915/i915_drv.h      |   5 +
 drivers/gpu/drm/i915/i915_gem.c      |  34 +--
 drivers/gpu/drm/i915/i915_irq.c      |   2 -
 drivers/gpu/drm/i915/i915_params.c   |   5 +
 drivers/gpu/drm/i915/i915_params.h   |   1 +
 drivers/gpu/drm/i915/intel_audio.c   |  16 +-
 drivers/gpu/drm/i915/intel_display.c |  82 ++++---
 drivers/gpu/drm/i915/intel_drv.h     |   4 +-
 drivers/gpu/drm/i915/intel_pm.c      |  91 +++++---
 10 files changed, 409 insertions(+), 230 deletions(-)
Signature · 6 lines
2.5.0

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