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, Nov 8, 6:36 AM
Unknown Object (File)
Oct 13 2024, 7:10 PM
Unknown Object (File)
Oct 7 2024, 6:56 AM
Unknown Object (File)
Sep 30 2024, 3:03 AM
Unknown Object (File)
Sep 24 2024, 3:59 AM
Unknown Object (File)
Sep 17 2024, 4:57 PM
Unknown Object (File)
Sep 17 2024, 9:20 AM
Unknown Object (File)
Sep 17 2024, 8:33 AM

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 43096
Build 39984: 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–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.