diff options
author | Hang Yuan <hang.yuan@linux.intel.com> | 2019-01-14 11:43:39 +0100 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2019-01-15 11:28:15 +0100 |
commit | 6c2d0f9976ad19eca6d03dad5d726f8eff848b70 (patch) | |
tree | 757eede560b44538dfda13a0b0078a8ea948fce3 /drivers/gpu/drm/i915/gvt/scheduler.h | |
parent | drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0 (diff) | |
download | linux-6c2d0f9976ad19eca6d03dad5d726f8eff848b70.tar.xz linux-6c2d0f9976ad19eca6d03dad5d726f8eff848b70.zip |
drm/i915/gvt: free VFIO region space in vgpu detach
VFIO region space is allocated when one region is registered for
one vgpu. So free the space when destroy the vgpu.
Also change the parameter of detach_vgpu callback to use vgpu directly.
Fixes: b851adeac0858c7d257b3 ("drm/i915/gvt: Add opregion support")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.h')
0 files changed, 0 insertions, 0 deletions