diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-05-04 11:34:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-05-04 11:34:49 +0000 |
commit | f5574b4a644211fe7709234b1b9ed715099e02a7 (patch) | |
tree | 01d4f0baa026101a4c304df9a928193d69293bdd /sys/arch/amd64/conf | |
parent | 4ed7a9910f2e75595c48e6cff73d3964a8de4c77 (diff) |
Improve the interaction between efifb(4), inteldrm(4) and radeondrm(4)
when we have a serial console by introducing the notion of a "primary"
graphics device. The primary graphics device is the one set up and
used by firmware (BIOS, UEFI).
The goal is to make sure that wsdisplay0 and drm0 reliably attach to
the primary graphics device such that X works out of the box even
if you have multiple cards or if you are using a serial console.
This also fixes the situation where inteldrm(4) or radeondrm(4) would
take over the console on UEFI systems even if the kernel was booted
with a serial console.
ok jsg@
Diffstat (limited to 'sys/arch/amd64/conf')
-rw-r--r-- | sys/arch/amd64/conf/GENERIC | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index b7af8a6498f..0dde82cd342 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.468 2019/03/28 09:41:35 kettenis Exp $ +# $OpenBSD: GENERIC,v 1.469 2019/05/04 11:34:47 kettenis Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -359,14 +359,14 @@ wsmouse* at pms? mux 0 inteldrm* at pci? # Intel i915, i945 DRM driver intagp* at inteldrm? agp* at intagp? -drm0 at inteldrm? console 1 +drm0 at inteldrm? primary 1 drm* at inteldrm? -wsdisplay0 at inteldrm? console 1 +wsdisplay0 at inteldrm? primary 1 wsdisplay* at inteldrm? mux -1 radeondrm* at pci? # ATI Radeon DRM driver -drm0 at radeondrm? console 1 +drm0 at radeondrm? primary 1 drm* at radeondrm? -wsdisplay0 at radeondrm? console 1 +wsdisplay0 at radeondrm? primary 1 wsdisplay* at radeondrm? mux -1 pcppi0 at isa? @@ -389,7 +389,7 @@ lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports lpt* at puc? efifb0 at mainbus? # EFI Framebuffer -wsdisplay0 at efifb? console ? +wsdisplay0 at efifb? ahc* at pci? # Adaptec 2940 SCSI controllers jmb* at pci? # JMicron JMB36x controllers |