OpenCloudOS-Kernel/drivers/gpu/drm/i915/gvt
Yi Wang 7590ebb8b4 drm/i915/gvt: fix memory leak in intel_vgpu_ioctl()
The 'sparse' variable may leak when return in function
intel_vgpu_ioctl(), and this patch fix this.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-08-14 15:27:12 +08:00
..
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
aperture_gm.c drm/i915/gvt: Off by one in intel_vgpu_write_fence() 2018-08-14 15:26:59 +08:00
cfg_space.c drm/i915/gvt: Fix aperture read/write emulation when enable x-no-mmap=on 2018-02-06 11:41:27 -08:00
cmd_parser.c drm/i915/gvt: return error on cmd access 2018-08-14 15:26:39 +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: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
display.h drm/i915/gvt: Fix the validation on size field of dp aux header 2018-04-12 11:29:01 +08:00
dmabuf.c drm/i915/gvt: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +08:00
dmabuf.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
edid.c drm/i915/gvt: Enable virtual display support for BXT. 2018-06-13 10:57:29 +08:00
edid.h
execlist.c drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops 2018-02-06 11:40:59 -08:00
execlist.h drm/i915/gvt: use array to avoid potential buffer overflow 2018-06-11 15:04:45 +08:00
fb_decoder.c drm/i915/gvt: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +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: Use offsetofend() rather than offsetof + sizeof 2018-05-17 22:05:10 +08:00
gtt.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
gtt.h BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
gvt.c drm/i915/gvt: fix cleanup sequence in intel_gvt_clean_device 2018-08-14 15:25:32 +08:00
gvt.h drm/i915/gvt: free workload in vgpu release 2018-08-13 12:32:57 +08:00
handlers.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
hypercall.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
interrupt.c drm/i915/gvt: Enable irq initialization for BXT. 2018-06-13 10:57:29 +08:00
interrupt.h
kvmgt.c drm/i915/gvt: fix memory leak in intel_vgpu_ioctl() 2018-08-14 15:27:12 +08:00
mmio.c Chris is doing many reworks that allow us to get full-ppgtt supported 2018-06-28 13:10:44 +10:00
mmio.h BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
mmio_context.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
mmio_context.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
mpt.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
opregion.c drm/i915/gvt: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -08:00
page_track.c drm/i915/gvt: Use vgpu_lock to protect per vgpu access 2018-05-18 12:39:02 +08:00
page_track.h drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +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: Use sched_lock to protect gvt scheduler logic. 2018-05-18 12:39:26 +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: free workload in vgpu release 2018-08-13 12:32:57 +08:00
scheduler.h drm/i915/gvt: free workload in vgpu release 2018-08-13 12:32:57 +08:00
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
trace_points.c
vgpu.c drm/i915/gvt: initialize dmabuf mutex in vgpu_create 2018-08-14 15:26:09 +08:00