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
F156441951: D43904.id134350.diff
Wed, May 13, 5:37 PM
F156439517: D43904.diff
Wed, May 13, 5:22 PM
Unknown Object (File)
Wed, Apr 29, 12:26 PM
Unknown Object (File)
Wed, Apr 29, 12:19 PM
Unknown Object (File)
Wed, Apr 29, 12:23 AM
Unknown Object (File)
Wed, Apr 29, 12:14 AM
Unknown Object (File)
Fri, Apr 24, 6:21 PM
Unknown Object (File)
Thu, Apr 23, 8:34 PM
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!