1
0
Fork 0
alistair23-linux/drivers/gpu/drm/i915/gvt
Weinan Li 0f75551216 drm/i915/gvt: release shadow batch buffer and wa_ctx before destroy one workload
GVT-g will shadow the privilege batch buffer and the indirect context
during command scan, move the release process into
intel_vgpu_destroy_workload() to ensure the resources are recycled
properly.

Fixes: 0cce2823ed ("drm/i915/gvt/kvmgt:Refine error handling for prepare_execlist_workload")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2019-01-23 13:58:46 +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: ensure gpu is powered before do i915_gem_gtt_insert 2018-11-12 17:06:05 +08:00
cfg_space.c drm/i915/gvt: Fix function comment doc errors 2018-08-07 10:39:53 +08:00
cmd_parser.c drm/i915/gvt: fix typo in two MI cmd annotation 2018-12-07 12:00:30 +08:00
cmd_parser.h
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 Merge tag 'drm-intel-next-2018-09-06-2' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2018-09-11 11:53:12 +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: Fix drm_format_mod value for vGPU plane 2018-08-30 12:56:33 +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: Fix function comment doc errors 2018-08-07 10:39:53 +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: Fix tiled memory decoding bug on BDW 2018-12-03 17:03:21 +08:00
fb_decoder.h drm/i915/gvt: Fix drm_format_mod value for vGPU plane 2018-08-30 12:56:33 +08:00
firmware.c drm/i915/gvt: Use offsetofend() rather than offsetof + sizeof 2018-05-17 22:05:10 +08:00
gtt.c Merge tag 'gvt-fixes-2018-11-26' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-26 11:19:48 +02:00
gtt.h Merge tag 'gvt-fixes-2018-11-07' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-07 15:34:10 +02:00
gvt.c drm/i915/gvt: fix a typo: "registeration" -> "registration". 2018-12-07 12:00:58 +08:00
gvt.h drm/i915/gvt: Fix shadow ctx ppgtt destroy function 2018-12-07 12:01:09 +08:00
handlers.c drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0 2019-01-14 12:33:28 +08:00
hypercall.h drm/i915/gvt: free VFIO region space in vgpu detach 2019-01-15 18:28:15 +08:00
interrupt.c drm/i915/gvt: fix spelling mistake "Interupts" -> "Interrupts" 2018-12-07 12:01:09 +08:00
interrupt.h
kvmgt.c drm/i915/gvt: Fix mmap range check 2019-01-15 19:04:45 +08:00
mmio.c This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
mmio.h BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
mmio_context.c Merge tag 'gvt-fixes-2018-11-26' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-26 11:19:48 +02:00
mmio_context.h drm/i915/gvt: only copy the first page for restore inhibit context 2018-08-02 13:27:54 +08:00
mpt.h drm/i915/gvt: free VFIO region space in vgpu detach 2019-01-15 18:28:15 +08:00
opregion.c This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
page_track.c drm/i915/gvt: Fix function comment doc errors 2018-08-07 10:39:53 +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 Merge tag 'gvt-next-2018-09-04' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2018-09-06 16:51:50 +03:00
sched_policy.c drm/i915/gvt: Give new born vGPU higher scheduling chance 2018-09-03 14:28:23 +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: release shadow batch buffer and wa_ctx before destroy one workload 2019-01-23 13:58:46 +08:00
scheduler.h drm/i915/gvt: Fix workload request allocation before request add 2019-01-09 12:59:09 +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: clear ggtt entries when destroy vgpu 2018-09-18 10:39:44 +08:00