projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.14k stars 520 forks source link

GPU Support for SR-IOV based sharing #6290

Open NanlinXie opened 3 years ago

NanlinXie commented 3 years ago

The GPU will implement shareable HW interfaces via the PCI SIG Single Root IO Virtualization (SR-IOV) standard. The GPU shall provide 1 (legacy compatible) Physical Function and 7 assignable Virtual Functions. A single image graphics kernel mode driver will be capable of running in legacy, physical function and virtual function modes depending on the configuration of the HW and the interface exposed to the domain in which it is running. GuC firmware and I915 driver shall provide for configuration of relative performance allocations for the PF and each VF GVT-g shall provide for assignment of individual display PIPEs and individual display PLANEs to particular VF interfaces for direct control. GuC firmware and I915 driver shall provide for the static allocation of GGTT address space (but not aperture) to each VF. GuC firmware and I915 driver shall provide for performance and event (i.e. QoS violations/resets) on a per function (PF and VF) basis. GuC firmware and I915 driver shall provide an interface through which system SW can control execution priority of individual functions GuC firmware and I915 driver shall provide for relative priorities across VF and PF interfaces. Higher priority P or VF workloads may preempt workloads from lower priority P or VFs. GuC firmware and I915 driver shall provide an interface through which system SW can suspend execution of workloads from a given VF

NanlinXie commented 3 years ago

[External_System_ID] ACRN-5968

NanlinXie commented 3 years ago

Doc Impact Analysis:

NanlinXie commented 3 years ago

Need new feature tutorials

NanlinXie commented 3 years ago

Move document update to future.

NanlinXie commented 2 years ago

Closed since patch merged without regression.

NanlinXie commented 2 years ago

Reopen due to document open.

gvancuts commented 2 years ago

Where is the documentation for this?

fuzhongl commented 2 years ago

@gvancuts Sorry for not aware document open.

gvancuts commented 2 years ago

@gvancuts Sorry for not aware document open.

This was literally the last comment in this thread... and the "doc: needed" label is set. We cannot close issues that have that label set. This is part of the agreed process.