]> 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)
commit82a3b6701ab1e2cdfb64cf163fc6d1a4576329ff
treeb4a085b36dcf861983769eb42b05b089607087b0
parent4a136d590bd4c579bb3df154363a3e5b51cb36ce
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