-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
28 lines (25 loc) · 1.28 KB
/
Kconfig
File metadata and controls
28 lines (25 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-License-Identifier: GPL-2.0
# Configuration for the hyper-v virtual compute driver (dxgkrnl)
#
config DXGKRNL
tristate "Microsoft Paravirtualized GPU support"
depends on HYPERV
depends on 64BIT || COMPILE_TEST
select DMA_SHARED_BUFFER
select SYNC_FILE
help
This driver supports paravirtualized virtual compute devices, exposed
by Microsoft Hyper-V when Linux is running inside of a virtual machine
hosted by Windows. The virtual machines needs to be configured to use
host compute adapters. The driver name is dxgkrnl.
An example of such virtual machine is a Windows Subsystem for
Linux container. When such container is instantiated, the Windows host
assigns compatible host GPU adapters to the container. The corresponding
virtual GPU devices appear on the PCI bus in the container. These
devices are enumerated and accessed by this driver.
Communications with the driver are done by using the Microsoft libdxcore
library, which translates the D3DKMT interface
<https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/d3dkmthk/>
to the driver IOCTLs. The virtual GPU devices are paravirtualized,
which means that access to the hardware is done in the host. The driver
communicates with the host using Hyper-V VM bus communication channels.