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
Unknown Object (File)
Tue, Sep 1, 12:39 AM
Unknown Object (File)
Mon, Aug 31, 7:36 PM
Unknown Object (File)
Thu, Aug 27, 2:19 PM
Unknown Object (File)
Thu, Aug 27, 2:18 PM
Unknown Object (File)
Tue, Aug 25, 1:12 AM
Unknown Object (File)
Thu, Aug 13, 7:09 PM
Unknown Object (File)
Thu, Aug 13, 5:41 PM
Unknown Object (File)
Mon, Aug 10, 9:51 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!