Page MenuHomeFreeBSD

pci: expose intel_graphics_stolen as sysctl
ClosedPublic

Authored by corvink on Mar 27 2023, 9:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 4:39 AM
Unknown Object (File)
Sat, May 2, 12:33 PM
Unknown Object (File)
Wed, Apr 29, 2:13 AM
Unknown Object (File)
Wed, Apr 29, 2:07 AM
Unknown Object (File)
Apr 28 2026, 7:21 AM
Unknown Object (File)
Apr 27 2026, 11:33 PM
Unknown Object (File)
Apr 21 2026, 9:14 AM
Unknown Object (File)
Apr 21 2026, 7:57 AM
Subscribers

Details

Reviewers
kib
manu
Summary

The Intel graphics stolen memory is used by the Intel GOP driver on
boot. When using bhyve with GPU passthrough, it's also used by the guest
GOP driver at guest boot. For that reason, bhyve needs to know the
address and size of this region to inform the guest about this region.
Exposing the variables as sysctl allows bhyve to easily read them.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 50596
Build 47487: arc lint + arc unit