-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge feature/dxgkrnl/5.10 (5937795)
* msft/feature/dxgkrnl/5.10: Allow killing a process waiting for a VM bus message reply drivers: hv: dxgkrnl: Implement support for mapping guest pages on the host. drivers: hv: dxgkrnl: Implement DXGSYNCFILE drivers: hv: dxgkrnl: Implementation of submit command, paging and hardware queue. drivers: hv: dxgkrnl: Seal the shared resource object when dxgk_share_objects is called. drivers: hv: dxgkrnl: Implement sharing resources and sync objects drivers: hv: dxgkrnl: Implement operations with GPU sync objects drivers: hv: dxgkrnl: Implement creation/destruction of GPU allocations/resources drivers: hv: dxgkrnl: Driver initialization and creation of dxgadapter
- Loading branch information
Showing
20 changed files
with
16,826 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8189,6 +8189,12 @@ F: Documentation/devicetree/bindings/mtd/ti,am654-hbmc.txt | |
F: drivers/mtd/hyperbus/ | ||
F: include/linux/mtd/hyperbus.h | ||
|
||
Hyper-V vGPU DRIVER | ||
M: Iouri Tarassov <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/hv/dxgkrnl/ | ||
|
||
HYPERVISOR VIRTUAL CONSOLE DRIVER | ||
L: [email protected] | ||
S: Odd Fixes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# dxgkrnl configuration | ||
# | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Makefile for the Linux video drivers. | ||
|
||
obj-$(CONFIG_DXGKRNL) += dxgkrnl.o | ||
dxgkrnl-y := dxgmodule.o hmgr.o misc.o dxgadapter.o ioctl.o dxgvmbus.o dxgprocess.o dxgsyncfile.o |
Oops, something went wrong.