Page MenuHomeFreeBSD

loader: Only create gfx 4th bindings when gfx is available
ClosedPublic

Authored by imp on Feb 14 2024, 9:53 PM.
Tags
None
Referenced Files
F150354557: D43904.diff
Tue, Mar 31, 11:45 AM
Unknown Object (File)
Sun, Mar 29, 10:17 PM
Unknown Object (File)
Fri, Mar 27, 12:07 PM
Unknown Object (File)
Sun, Mar 8, 2:41 PM
Unknown Object (File)
Feb 27 2026, 7:53 PM
Unknown Object (File)
Feb 19 2026, 2:08 PM
Unknown Object (File)
Feb 14 2026, 9:52 PM
Unknown Object (File)
Feb 9 2026, 4:09 AM
Subscribers

Details

Summary

Only create the gfx bindings for 4th when it's comiled into the
kernel. We do this with a linker set that only gets brought in to those
loaders that call gfx_framework_init. This calls gfx_interp_md() will
will drag in gfx_loader.c which will add to the linker set that
registers these bindings.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56022
Build 52911: arc lint + arc unit

Event Timeline

imp requested review of this revision.Feb 14 2024, 9:53 PM
jhb added a subscriber: jhb.

s/comile/compile/ in the commit log, and I think you want s/kernel/loader/ in the commit log as well

This revision is now accepted and ready to land.Feb 14 2024, 9:58 PM
In D43904#1001560, @jhb wrote:

s/comile/compile/ in the commit log, and I think you want s/kernel/loader/ in the commit log as well

Updated, thanks!