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)
Sep 28 2024, 3:28 PM
Unknown Object (File)
Sep 28 2024, 1:20 PM
Unknown Object (File)
Sep 24 2024, 4:19 AM
Unknown Object (File)
Sep 17 2024, 8:47 PM
Unknown Object (File)
Sep 17 2024, 12:54 PM
Unknown Object (File)
Sep 6 2024, 3:57 AM
Unknown Object (File)
Sep 5 2024, 6:54 AM
Unknown Object (File)
Jul 31 2024, 12:19 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