diff options
| author | Colin Xu <[email protected]> | 2020-10-27 04:54:06 +0000 |
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2020-11-10 06:38:24 +0000 |
| commit | 385fc38c1f97387c47113254d8de2cb0dbf133bd (patch) | |
| tree | 7fc4b56122b3e98687ac66515ece1fe6b7cc6752 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/i915/gvt: Save/restore HW status to support GVT suspend/resume (diff) | |
| download | kernel-385fc38c1f97387c47113254d8de2cb0dbf133bd.tar.gz kernel-385fc38c1f97387c47113254d8de2cb0dbf133bd.zip | |
drm/i915: Add GVT resume routine to i915
This patch add gvt resume wrapper into i915_drm_resume().
GVT relies on i915 so resume gvt at last.
V2:
- Direct call into gvt suspend/resume wrapper in intel_gvt.h/intel_gvt.c.
The wrapper and implementation will check and call gvt routine. (zhenyu)
V3:
Refresh.
V4:
Rebase.
V5:
Fail intel_gvt_suspend() if fail to save GGTT.
V6:
Save host entry to per-vGPU gtt.ggtt_mm on each host_entry update so
only need the resume routine.
V7:
Refresh.
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Hang Yuan <[email protected]>
Signed-off-by: Colin Xu <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
