We need debugfs entry to expose some debug information of gvt and vGPUs. The first tool will be added is mmio-diff, which help to find the difference values of host and vGPU mmio. It's useful for platform enabling. This patch just add a basic debugfs infrastructure, each vGPU has its own sub-folder. Two simple attributes are created as a template. . ├── num_tracked_mmio ├── vgpu1 | └── active └── vgpu2 └── active Signed-off-by: Changbin Du <changbin.du@intel.com> Reviewed-by: Zhi Wang <zhi.a.wang@intel.com> Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
9 lines
389 B
Makefile
9 lines
389 B
Makefile
GVT_DIR := gvt
|
|
GVT_SOURCE := gvt.o aperture_gm.o handlers.o vgpu.o trace_points.o firmware.o \
|
|
interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \
|
|
execlist.o scheduler.o sched_policy.o render.o cmd_parser.o debugfs.o
|
|
|
|
ccflags-y += -I$(src) -I$(src)/$(GVT_DIR)
|
|
i915-y += $(addprefix $(GVT_DIR)/, $(GVT_SOURCE))
|
|
obj-$(CONFIG_DRM_I915_GVT_KVMGT) += $(GVT_DIR)/kvmgt.o
|