drm/i915/gvt: Add GVT resume routine to i915
Subsystems (2)
PATCH v7 2/2 drm/i915/gvt: 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.
--- drivers/gpu/drm/i915/i915_drv.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/i915_drv.c +2 -0
@@ -1270,6 +1270,8 @@ static int i915_drm_resume(struct drm_device *dev)intel_power_domains_enable (dev_priv); +intel_gvt_resume (dev_priv); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return 0 ;
Signature · 6 lines
2.29.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 20 lines · Colin Xu
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 inintel_gvt.h/intel_gvt.c. The wrapper and implementation will check and call gvt routine. (zhenyu)V3:
Refresh.V4:
Rebase.V5:
Failintel_gvt_suspend()if fail to save GGTT.V6:
Save host entry to per-vGPU gtt.ggtt_mm on eachhost_entryupdate so only need the resume routine.
Quoted 8 lines
V7:
Refresh.Signed-off-by Hang Yuan <[email protected]>Signed-off-by Colin Xu <[email protected]>--- drivers/gpu/drm/i915/i915_drv.c | 2 ++ 1 file changed, 2 insertions(+)
Patch title is a bit incorrect as this is to change in drm/i915: ... other than that
Although this is to change i915 file, I think it's easy enough to be merged through gvt tree, let me know if there's any concern.
Thanks
Quoted 21 lines
drivers/gpu/drm/i915/i915_drv.c +2
-0@@ -1270,6 +1270,8 @@ static int i915_drm_resume(struct drm_device *dev)intel_power_domains_enable (dev_priv); +intel_gvt_resume (dev_priv); +enable_rpm_wakeref_asserts (&dev_priv->runtime_pm);return 0 ;Signature · 6 lines
2.29.1 _______________________________________________ intel-gvt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Signature · 1 line
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx