]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: expose vGPU context hw id
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 1 Aug 2017 05:09:47 +0000 (13:09 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Aug 2017 02:26:11 +0000 (10:26 +0800)
commit5f10aaaf44cb293c4220fec2d67778d2136e3ae1
tree19ed3655df4c8224833fc53dbc274d037c4a864e
parentc03c63e069806c6191f413475e734da287af6f3f
drm/i915/gvt: expose vGPU context hw id

This exposes vGPU context hw id in mdev sysfs which is used to
do vGPU based profiling. Retrieved vGPU context hw id can be set
through i915 perf ioctl to set profiling for target vGPU.

Cc: Jiao Pengyuan <pengyuan.jiao@intel.com>
Cc: Niu Bing <bing.niu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c