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
F132048650: D43904.id.diff
Mon, Oct 13, 5:38 AM
Unknown Object (File)
Tue, Oct 7, 12:54 AM
Unknown Object (File)
Sun, Sep 14, 5:52 PM
Unknown Object (File)
Sep 5 2025, 5:33 AM
Unknown Object (File)
Sep 5 2025, 4:36 AM
Unknown Object (File)
Sep 3 2025, 8:16 PM
Unknown Object (File)
Sep 2 2025, 3:38 PM
Unknown Object (File)
Sep 2 2025, 11:39 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 Not Applicable
Unit
Tests Not Applicable

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!