CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/05/04 05:34:48
Modified files:
sys/arch/amd64/amd64: efifb.c mainbus.c
sys/arch/amd64/conf: GENERIC
sys/arch/amd64/include: efifbvar.h
sys/arch/i386/conf: GENERIC
sys/conf : files
sys/dev/pci/drm: drm_drv.c files.drm
sys/dev/pci/drm/i915: i915_drv.c i915_drv.h
sys/dev/pci/drm/include/drm: drmP.h
sys/dev/pci/drm/radeon: radeon.h radeon_kms.c
sys/dev/wscons : wsdisplay.c wsdisplayvar.h
Log message:
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@