Revert "hv: More changes to enable GPU passthru"

This reverts commit 8d50d40ff8.
This commit is contained in:
Jason Chen CJ
2018-07-05 09:04:08 +08:00
committed by lijinxia
parent cfb2828585
commit 6ca99713dd
6 changed files with 12 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ static struct dmar_drhd drhd_info_array[] = {
/* Ignore the iommu for intel graphic device since GVT-g needs
* vtd disabled for gpu
*/
.ignore = false,
.ignore = true,
.devices = default_drhd_unit_dev_scope0,
},
{

View File

@@ -21,6 +21,7 @@
#define CONFIG_RAM_START 0x20000000
#define CONFIG_RAM_SIZE 0x02000000 /* 32M */
#define CONFIG_DMAR_PARSE_ENABLED 1
#define CONFIG_GPU_SBDF 0x00000010 /* 0000:00:02.0 */
#define CONFIG_EFI_STUB 1
#define CONFIG_UEFI_OS_LOADER_NAME "\\EFI\\org.clearlinux\\bootloaderx64.efi"
#define CONFIG_MTRR_ENABLED 1