mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 04:39:34 +00:00
dm: Disable stolen memory for passthru graphics
When enabling GPU passthru for guest, stolen memory needs to be disabled. This change disables stolen memory in passthru mode. Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com> Reviewed-by: Gong Zhipeng <zhipeng.gong@intel.com>
This commit is contained in:
committed by
Xie, nanlin
parent
8d50d40ff8
commit
359e5cf794
@@ -1065,4 +1065,7 @@
|
||||
#define PCIM_OSC_CTL_PCIE_AER 0x08 /* PCIe Advanced Error Reporting */
|
||||
#define PCIM_OSC_CTL_PCIE_CAP_STRUCT 0x10 /* Various Capability Structures */
|
||||
|
||||
/* Graphics definitions */
|
||||
#define PCIR_GMCH_CTL 0x50 /*GMCH grpahics control register */
|
||||
#define PCIM_GMCH_CTL_GMS 0xFF00 /*GMS - stolen memory bits 15:8 */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user