linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Tina Zhang 6ee942d5f7 drm/i915/gvt: Refine dmabuf_obj cleanup process
In the process of dmabuf_obj cleanup, the dmabuf_obj might be freed during
dmabuf_obj_put leaking intel_gvt_hypervisor_put_vfio_device.

Move intel_gvt_hypervisor_put_vfio_device and all the other dmabuf_obj ops
in front of dmabuf_obj_put and let every dmabuf_obj have a chance to call
intel_gvt_hypervisor_put_vfio_device to fix this leaking issue.

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>
2017-12-08 16:20:12 +08:00
..
aperture_gm.c drm/i915: Add interface to reserve fence registers for vGPU 2017-09-04 16:34:59 +01:00
cfg_space.c drm/i915/gvt: Alloc and Init guest opregion at vgpu creation 2017-12-04 11:24:32 +08:00
cmd_parser.c drm/i915/gvt: Don't dump partial state in cmd parser 2017-11-16 11:48:33 +08:00
cmd_parser.h drm/i915/gvt: Factor out scan and shadow from workload dispatch 2017-08-10 10:26:06 +08:00
debug.h drm/i915/gvt: Make gvt_vgpu_err use pr_err 2017-11-16 11:48:34 +08:00
debugfs.c drm/i915/gvt: Add new debugfs tool mmio_diff 2017-11-16 11:48:32 +08:00
display.c drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
display.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
dmabuf.c drm/i915/gvt: Refine dmabuf_obj cleanup process 2017-12-08 16:20:12 +08:00
dmabuf.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
edid.c
edid.h
execlist.c drm/i915/gvt: Convert macro queue_workload to a function 2017-12-04 11:24:34 +08:00
execlist.h drm/i915/gvt: Make elsp_dwords in the right order 2017-11-16 11:46:07 +08:00
fb_decoder.c drm/i915/gvt: Introduce KBL to dma-buf on Gvt-g 2017-12-04 11:24:34 +08:00
fb_decoder.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
firmware.c drm/i915/gvt: Add mmio iterator intel_gvt_for_each_tracked_mmio() 2017-11-16 11:48:32 +08:00
gtt.c Revert "drm/i915/gvt: Refine broken PPGTT scratch" 2017-11-16 11:48:35 +08:00
gtt.h Revert "drm/i915/gvt: Refine broken PPGTT scratch" 2017-11-16 11:48:35 +08:00
gvt.c drm/i915/gvt: Select appropriate mmio list at initialization time 2017-12-08 16:18:19 +08:00
gvt.h drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h} 2017-12-08 16:18:32 +08:00
handlers.c drm/i915/gvt: fix off-by-one comparison of ring_id 2017-12-05 11:45:06 +08:00
hypercall.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
interrupt.c drm/i915/gvt: Change flood gvt dmesg into trace 2017-06-08 13:59:16 +08:00
interrupt.h
kvmgt.c drm/i915/gvt/kvmgt: fill info for ROM/VGA region 2017-12-08 16:18:49 +08:00
Makefile drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h} 2017-12-08 16:18:32 +08:00
mmio_context.c drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h} 2017-12-08 16:18:32 +08:00
mmio_context.h drm/i915/gvt: Rename file render.{c, h} to mmio_context.{c, h} 2017-12-08 16:18:32 +08:00
mmio.c drm/i915/gvt: Factor intel_vgpu_page_track 2017-11-16 11:48:22 +08:00
mmio.h drm/i915/gvt: Add mmio iterator intel_gvt_for_each_tracked_mmio() 2017-11-16 11:48:32 +08:00
mpt.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
opregion.c drm/i915/gvt: Add opregion support 2017-12-04 11:24:32 +08:00
reg.h drm/i915/gvt: Use I915_GTT_PAGE_SIZE 2017-11-16 11:48:22 +08:00
sched_policy.c drm/i915/gvt: Kick scheduler when new workload queued 2017-12-04 11:24:35 +08:00
sched_policy.h drm/i915/gvt: Kick scheduler when new workload queued 2017-12-04 11:24:35 +08:00
scheduler.c drm/i915/gvt: set max priority for gvt context 2017-12-04 11:24:35 +08:00
scheduler.h drm/i915/gvt: Convert macro queue_workload to a function 2017-12-04 11:24:34 +08:00
trace_points.c
trace.h drm/i915/gvt: Change flood gvt dmesg into trace 2017-06-08 13:59:16 +08:00
vgpu.c drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00