mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 01:05:16 +07:00
82d375d1b5
A vGPU represents a virtual Intel GEN hardware, which consists following virtual resources: - Configuration space (virtualized) - HW registers (virtualized) - GGTT memory space (partitioned) - GPU page table (shadowed) - Fence registers (partitioned) * virtualized: fully emulated by GVT-g. * partitioned: Only a part of the HW resource is allowed to be accessed by VM. * shadowed: Resource needs to be translated and shadowed before getting applied into HW. This patch introduces vGPU life cycle management framework, which is responsible for creating/destroying a vGPU and preparing/free resources related to a vGPU. Signed-off-by: Zhi Wang <zhi.a.wang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
6 lines
207 B
Makefile
6 lines
207 B
Makefile
GVT_DIR := gvt
|
|
GVT_SOURCE := gvt.o aperture_gm.o handlers.o firmware.o vgpu.o
|
|
|
|
ccflags-y += -I$(src) -I$(src)/$(GVT_DIR) -Wall
|
|
i915-y += $(addprefix $(GVT_DIR)/, $(GVT_SOURCE))
|