summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/scheduler.h
diff options
context:
space:
mode:
authorHang Yuan <hang.yuan@linux.intel.com>2019-01-14 11:43:39 +0100
committerZhenyu Wang <zhenyuw@linux.intel.com>2019-01-15 11:28:15 +0100
commit6c2d0f9976ad19eca6d03dad5d726f8eff848b70 (patch)
tree757eede560b44538dfda13a0b0078a8ea948fce3 /drivers/gpu/drm/i915/gvt/scheduler.h
parentdrm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0 (diff)
downloadlinux-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