Page MenuHomeFreeBSD

pci: expose intel_graphics_stolen as sysctl
ClosedPublic

Authored by corvink on Mar 27 2023, 9:13 AM.
Tags
None
Referenced Files
F97298906: D39281.diff
Sat, Sep 28, 1:20 PM
Unknown Object (File)
Tue, Sep 24, 4:19 AM
Unknown Object (File)
Tue, Sep 17, 8:47 PM
Unknown Object (File)
Tue, Sep 17, 12:54 PM
Unknown Object (File)
Fri, Sep 6, 3:57 AM
Unknown Object (File)
Thu, Sep 5, 6:54 AM
Unknown Object (File)
Jul 31 2024, 12:19 AM
Unknown Object (File)
Jul 29 2024, 7:08 PM
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