linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Split default display handling out from VGA arbiter
@ 2017-09-01  7:27 Daniel Axtens
  2017-09-01  7:27 ` [PATCH v3 1/3] drm: split default display handler out of " Daniel Axtens
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Daniel Axtens @ 2017-09-01  7:27 UTC (permalink / raw)
  To: linux-pci, linuxppc-dev, linux-arm-kernel
  Cc: benh, z.liuxinliang, zourongrong, catalin.marinas, will.deacon,
	gabriele.paoloni, helgaas, airlied, daniel.vetter,
	alex.williamson, dri-devel, lukas, ard.biesheuvel,
	lorenzo.pieralisi, Daniel Axtens

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

-- 
2.11.0

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

end of thread, other threads:[~2017-10-06 19:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01  7:27 [PATCH v3 0/3] Split default display handling out from VGA arbiter Daniel Axtens
2017-09-01  7:27 ` [PATCH v3 1/3] drm: split default display handler out of " Daniel Axtens
2017-09-01  7:27 ` [PATCH v3 2/3] drm: add fallback default device detection Daniel Axtens
2017-09-11  4:35   ` Andrew Donnellan
2017-09-01  7:27 ` [PATCH v3 3/3] drm: documentation for default display device Daniel Axtens
2017-09-01  9:21 ` [PATCH v3 0/3] Split default display handling out from VGA arbiter Ard Biesheuvel
2017-09-01 11:34   ` Daniel Axtens
2017-09-18  5:49 ` Daniel Axtens
2017-09-26  4:50   ` Daniel Vetter
2017-09-25 16:39 ` Bjorn Helgaas
2017-09-25 23:35   ` Daniel Axtens
2017-09-27  3:52   ` Daniel Axtens
2017-10-06 19:51     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).