]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Free dmabuf_obj list in intel_vgpu_dmabuf_cleanup
authorTina Zhang <tina.zhang@intel.com>
Wed, 29 Nov 2017 06:57:37 +0000 (14:57 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 4 Dec 2017 03:24:34 +0000 (11:24 +0800)
commitd9920c1678fe71082d718c1e63cbae530f165072
treeb4a085b36dcf861983769eb42b05b089607087b0
parenteea28ed75cbe1304edf3d4ddfe5112b01de18af5
drm/i915/gvt: Free dmabuf_obj list in intel_vgpu_dmabuf_cleanup

The per vGPU dmabuf_obj list should be released in intel_vgpu_dmabuf_
cleanup, which is invoked either in the process of closing a VM or in
the process of removing a vGPU.

Fixes: e3a0d7976c53 ("drm/i915/gvt: Handle orphan dmabuf_objs")
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/dmabuf.c