aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorXiaolin Zhang <[email protected]>2019-06-03 02:55:53 +0000
committerZhenyu Wang <[email protected]>2019-06-03 05:18:36 +0000
commit15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2 (patch)
treecd80b905a97fafd33ca1c9bb165a2b51b417cd10 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/i915/gvt: add F_CMD_ACCESS flag for wa regs (diff)
downloadkernel-15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2.tar.gz
kernel-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 <[email protected]> Signed-off-by: Xiaolin Zhang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions