commit | a45050d718f629104cfdfde0345dae617bdef3fc | [log] [tgz] |
---|---|---|
author | Zhenyu Wang <zhenyuw@linux.intel.com> | Tue Aug 01 13:09:47 2017 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Thu Aug 10 10:26:11 2017 +0800 |
tree | 19ed3655df4c8224833fc53dbc274d037c4a864e | |
parent | 4d3e67bb6fa26e50eb087799d98ec232acfb630d [diff] |
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>