Skip to content

Split default display handling out from VGA arbiter

Daniel Axtens dri-devel linux-arm-kernel linux-pci linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 9 repliesIn review
  2. v21 patch 11 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Add documentation - thanks Daniel Vetter for pointing it out.

- Clarify explanations. Thanks to everyone for continuing to bear with my incomplete understanding of PCI and provide some clarity.

- Split refactoring and adding functionality.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: split default display handler out of VGA arbiterarch/ia64/pci/fixup.c arch/powerpc/kernel/pci-common.c arch/x86/pci/fixup.c +9 more+173 -800 replies
2/3drm: add fallback default device detectiondrivers/gpu/vga/default_display.c+77 -01 reply
3/3drm: documentation for default display deviceDocumentation/gpu/default_display.rst Documentation/gpu/index.rst+94 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArd BiesheuvelAndrew DonnellanDaniel Axtens
SeriesA-b T-b
1/3
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] Split default display handling out from VGA arbiter

This patch set:

- splits the default display handling out from VGA arbiter, into its own file and behind its own Kconfig option (and gives the functions better names).

- adds extra detection of default devices. To be nominated, the vga arbiter and platform hooks must not have nominated a default. A card will then only be nominated if it has a driver attached and has IO or memory decoding enabled.

- adds relevant documentation.

The practical impact of this is improved X autoconfiguration on some arm64 systems.

Changes in v3:

- Add documentation - thanks Daniel Vetter for pointing it out.

- Clarify explanations. Thanks to everyone for continuing to bear with my incomplete understanding of PCI and provide some clarity.

- Split refactoring and adding functionality.

Changes in v2: https://www.spinics.net/lists/linux-pci/msg64007.html

Drop all the powerpc patches. [explanation snipped]

v1: https://www.spinics.net/lists/linux-pci/msg63581.html

Regards,
Daniel

Daniel Axtens (3):
drm: split default display handler out of VGA arbiter
drm: add fallback default device detection
drm: documentation for default display device

 Documentation/gpu/default_display.rst |  93 +++++++++++++++++++
 Documentation/gpu/index.rst           |   1 +
 arch/ia64/pci/fixup.c                 |   6 +-
 arch/powerpc/kernel/pci-common.c      |   6 +-
 arch/x86/pci/fixup.c                  |   6 +-
 arch/x86/video/fbdev.c                |   4 +-
 drivers/gpu/vga/Kconfig               |  12 +++
 drivers/gpu/vga/Makefile              |   1 +
 drivers/gpu/vga/default_display.c     | 163 ++++++++++++++++++++++++++++++++++
 drivers/gpu/vga/vga_switcheroo.c      |   8 +-
 drivers/gpu/vga/vgaarb.c              |  61 +++----------
 drivers/pci/pci-sysfs.c               |   4 +-
 include/linux/default_display.h       |  44 +++++++++
 include/linux/vgaarb.h                |  15 ----
 14 files changed, 344 insertions(+), 80 deletions(-)
 create mode 100644 Documentation/gpu/default_display.rst
 create mode 100644 drivers/gpu/vga/default_display.c
 create mode 100644 include/linux/default_display.h
Signature · 1 line
2.11.0