summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/edid.h
diff options
context:
space:
mode:
authorXiaolin Zhang <xiaolin.zhang@intel.com>2019-06-03 04:55:53 +0200
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-06-03 07:18:36 +0200
commit15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2 (patch)
treecd80b905a97fafd33ca1c9bb165a2b51b417cd10 /drivers/gpu/drm/i915/gvt/edid.h
parentdrm/i915/gvt: add F_CMD_ACCESS flag for wa regs (diff)
downloadlinux-15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2.tar.xz
linux-15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2.zip
drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out
Save RING_HEAD into vgpu reg when vgpu switched out and report it's value back to guest. v6: addressed comment for ring head wrap count support. (Zhenyu) v5: ring head wrap count support. v4: updated HEAD/TAIL with guest value, not host value. (Yan Zhao) v3: save RING HEAD/TAIL vgpu reg in save_ring_hw_state. (Zhenyu Wang) v2: save RING_TAIL as well during vgpu mmio switch to meet ring_is_idle condition. (Fred Gao) v1: based on input from Weinan. (Weinan Li) [zhenyuw: Include this fix for possible future guest kernel that would utilize RING_HEAD for hangcheck.] Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/edid.h')
0 files changed, 0 insertions, 0 deletions