drivers/gpu/drm/i915/gvt/debugfs.c
0 → 100644
+97
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>