Page MenuHomeFreeBSD

Fix scfb to only attach the device if it can drive it.
ClosedPublic

Authored by rezny on Feb 16 2017, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 11:02 PM
Unknown Object (File)
Fri, Apr 19, 5:12 PM
Unknown Object (File)
Fri, Apr 19, 5:12 PM
Unknown Object (File)
Fri, Apr 19, 5:12 PM
Unknown Object (File)
Thu, Apr 18, 6:46 AM
Unknown Object (File)
Wed, Apr 17, 3:36 AM
Unknown Object (File)
Thu, Mar 28, 7:38 PM
Unknown Object (File)
Feb 21 2024, 10:33 AM
Subscribers

Details

Summary

This is a fix to allow fallback to vesa to work correctly. scfb is probed before vesa so that it will be used on PCs with UEFI, but scfb would always claim the device during Probe so vesa sees no device during Probe, meaning the X server bails on PCs with traditional BIOS instead oF using vesa. This patch adds a check for a framebuffer in Probe (copied from PreInit) before claiming the PCI device so. Also, assign the port to x11@ after discussion with ray@ on IRC. x11@ should take over maintenance of scfb itself as well.

Test Plan

verified fallback to vesa now works on 11 amd64, verified scfb (using ofwfb) still works on 11 ppc64

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 7507
Build 7667: arc lint + arc unit

Event Timeline

rezny retitled this revision from to Fix scfb to only attach the device if it can drive it..
rezny updated this object.
rezny edited the test plan for this revision. (Show Details)
rezny added reviewers: x11, swills, feld.
swills edited edge metadata.

Approved

This revision is now accepted and ready to land.Feb 16 2017, 2:23 PM
This revision was automatically updated to reflect the committed changes.