Files
linux/drivers
Zhao Yan 96bebe39b2 drm/i915/gvt: scan non-privileged batch buffer for debug purpose
For perfomance purpose, scanning of non-privileged batch buffer is turned
off by default. But for debugging purpose, it can be turned on via debugfs.
After scanning, we submit the original non-privileged batch buffer into
hardware, so that the scanning is only a peeking window of guest submitted
commands and will not affect the execution results.

v4:
- refine debugfs print format&content (zhenyu wang)
- print engine id instread of engine name to prevent potential memory leak
  in debugfs warning message. (zhenyu wang)

v3:
- change vgpu->scan_nonprivbb from type bool to u32, so it is able to
  selectively turn on/off scanning of non-privileged batch buffer on engine
  level. e.g.
  if vgpu->scan_nonprivbb=3, then it will scan non-privileged batch buffer
  on engine 0 and 1.
- in debugfs interface to set vgpu->scan_nonprivbb, print warning message
  to warn user and explicitly tell state change in kernel log (zhenyu wang)
v2:
- rebase
- update comments for start_gma_offset (henry)

Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
2018-04-23 13:09:34 +08:00
..
2018-03-02 10:44:44 +01:00
2018-03-14 15:39:33 -04:00
2018-03-05 07:57:41 -05:00
2018-03-21 11:10:20 +01:00
2018-03-08 10:39:58 -07:00
2018-01-02 14:46:35 +01:00
2018-03-12 15:11:59 +05:30
2017-12-18 16:47:27 +01:00
2017-12-19 10:56:53 +01:00
2018-01-22 16:45:26 +01:00
2018-03-25 07:04:00 -10:00
2018-01-09 16:15:20 +01:00