diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-11 16:13:45 +0200 |
---|---|---|
committer | Zhi Wang <zhi.a.wang@intel.com> | 2022-04-21 07:36:56 -0400 |
commit | 4c705ad0d784fd9ae7160d8c4e0a151abe465dbc (patch) | |
tree | bd383bb030dbeccc7be52f48c77cb31b86ad21ee /drivers/gpu/drm/i915/gvt/gvt.h | |
parent | f9399b0e4a9555227559f0adaa8e861bedb4b735 (diff) | |
download | linux-4c705ad0d784fd9ae7160d8c4e0a151abe465dbc.tar.gz linux-4c705ad0d784fd9ae7160d8c4e0a151abe465dbc.tar.bz2 linux-4c705ad0d784fd9ae7160d8c4e0a151abe465dbc.zip |
drm/i915/gvt: devirtualize ->detach_vgpu
Just call the function directly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-17-hch@lst.de
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/gvt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index d389c9c3822b..52ef88d2bf21 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -581,6 +581,7 @@ void populate_pvinfo_page(struct intel_vgpu *vgpu); int intel_gvt_scan_and_shadow_workload(struct intel_vgpu_workload *workload); void enter_failsafe_mode(struct intel_vgpu *vgpu, int reason); +void intel_vgpu_detach_regions(struct intel_vgpu *vgpu); enum { GVT_FAILSAFE_UNSUPPORTED_GUEST, |