Page MenuHomeFreeBSD

bhyve: add GVT-d support for graphics gen 11 and newer
ClosedPublic

Authored by corvink on May 24 2024, 11:34 AM.
Tags
None
Referenced Files
F172015021: D45338.id139035.diff
Tue, Sep 15, 9:59 AM
F171946689: D45338.id.diff
Mon, Sep 14, 8:20 PM
F171943295: D45338.id159775.diff
Mon, Sep 14, 7:39 PM
Unknown Object (File)
Wed, Aug 26, 10:44 PM
Unknown Object (File)
Mon, Aug 24, 10:07 PM
Unknown Object (File)
Aug 13 2026, 10:52 AM
Unknown Object (File)
Aug 8 2026, 7:07 PM
Unknown Object (File)
Aug 8 2026, 6:53 PM
Subscribers

Details

Summary

The BDSM (Base Data Stolen Memory) register changed. Older generations are
using a 32 bit register. On newer generations a different register address is
used and the size was changed to 64 bit to permit allocating graphics stolen
memory above 4 GB. Bhyve has to detect that and properly emulate the correct
register.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.May 27 2024, 3:51 PM
This revision now requires review to proceed.Jun 12 2025, 1:46 PM
markj added inline comments.
usr.sbin/bhyve/amd64/pci_gvt-d.c
46
59
This revision is now accepted and ready to land.Jun 17 2025, 12:09 PM

Fine with me once @markj's style nit is fixed.