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)
Mon, Apr 8, 5:37 PM
Unknown Object (File)
Mar 18 2024, 6:05 AM
Unknown Object (File)
Feb 22 2024, 12:07 AM
Unknown Object (File)
Feb 22 2024, 12:07 AM
Unknown Object (File)
Feb 22 2024, 12:07 AM
Unknown Object (File)
Feb 22 2024, 12:07 AM
Unknown Object (File)
Feb 21 2024, 11:52 PM
Unknown Object (File)
Feb 12 2024, 4:14 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43095
Build 39983: arc lint + arc unit

Event Timeline

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

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

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

vt_vga.c, vbefb.c should get similar treatment

sys/sys/fbio.h
94

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.