Page MenuHomeFreeBSD

fb: Add new FBTYPE_EFIFB
ClosedPublic

Authored by manu on Dec 1 2021, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 16, 4:04 AM
Unknown Object (File)
Thu, Jan 15, 9:48 PM
Unknown Object (File)
Thu, Jan 15, 8:17 PM
Unknown Object (File)
Thu, Jan 8, 4:31 AM
Unknown Object (File)
Mon, Jan 5, 10:29 PM
Unknown Object (File)
Wed, Dec 31, 8:33 AM
Unknown Object (File)
Tue, Dec 30, 9:13 PM
Unknown Object (File)
Dec 20 2025, 7:11 PM

Details

Summary

Currently the type isn't set in the fbtype struct so any userland
program that call the FBIOGTYPE ioctl will think it's a FBTYPE_SUN1BW
which is far from the truth.
No app that I found find checks the type but at least now it's correct.

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Dec 1 2021, 2:23 PM
emaste added inline comments.
sys/sys/fbio.h
94–96

maybe a comment referencing EFI GOP?

This revision is now accepted and ready to land.Dec 1 2021, 2:26 PM
This revision now requires review to proceed.Dec 1 2021, 2:28 PM
manu marked an inline comment as done.Dec 1 2021, 2:28 PM

I'd guess the same issue is with VBE.

sys/sys/fbio.h
94–96

it can also be UGA (at least, on paper;)

vt_vga.c, vbefb.c should get similar treatment

sys/sys/fbio.h
94–96

Yeah on paper ;)
Good luck finding a UGA compatible firmware nowadays.

I'd guess the same issue is with VBE.

Yeah it's the same for all generic vt drivers.

This revision is now accepted and ready to land.Dec 1 2021, 2:30 PM
This revision was automatically updated to reflect the committed changes.