Page MenuHomeFreeBSD

pci: expose intel_graphics_stolen as sysctl
ClosedPublic

Authored by corvink on Mar 27 2023, 9:13 AM.
Tags
None
Referenced Files
F166433119: D39281.id119497.diff
Thu, Aug 13, 1:36 PM
Unknown Object (File)
Tue, Aug 11, 9:35 PM
Unknown Object (File)
Sun, Aug 9, 4:34 PM
Unknown Object (File)
Fri, Aug 7, 6:19 PM
Unknown Object (File)
Wed, Aug 5, 6:42 AM
Unknown Object (File)
Wed, Aug 5, 6:12 AM
Unknown Object (File)
Tue, Aug 4, 1:55 AM
Unknown Object (File)
Sun, Jul 26, 1:01 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