linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Du, Changbin e45d7b7f47 drm/i915/gvt: fix nested sleeping issue
We cannot use blocking method mutex_lock inside a wait loop.
Here we invoke pick_next_workload() which needs acquire a
mutex in our "condition" experssion. Then we go into a another
of the going-to-sleep sequence and changing the task state.
This is a dangerous. Let's rewrite the wait sequence to avoid
nested sleeping.

v2: fix do...while loop exit condition (zhenyu)
v3: rebase to gvt-staging branch

Signed-off-by: Du, Changbin <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2016-10-27 11:20:42 +08:00
..
aperture_gm.c drm/i915/gvt: Add runtime pm around fences 2016-10-20 17:18:39 +08:00
cfg_space.c drm/i915/gvt: clean up intel_gvt.h as interface for i915 core 2016-10-20 17:18:30 +08:00
cmd_parser.c drm/i915/gvt: fix an typo in skl_decode_mi_display_flip 2016-10-26 13:12:03 +08:00
cmd_parser.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
debug.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
display.c drm/i915/gvt: mark symbols static where possible 2016-10-20 17:31:36 +08:00
display.h drm/i915/gvt: vGPU display virtualization 2016-10-14 18:13:06 +08:00
edid.c drm/i915/gvt: clean up intel_gvt.h as interface for i915 core 2016-10-20 17:18:30 +08:00
edid.h drm/i915/gvt: vGPU display virtualization 2016-10-14 18:13:06 +08:00
execlist.c drm/i915/gvt: fix spare warnings on odd constant _Bool cast 2016-10-20 17:31:36 +08:00
execlist.h drm/i915/gvt: vGPU workload scheduler 2016-10-14 18:14:50 +08:00
firmware.c drm/i915/gvt: fix sparse warnings on different address spaces 2016-10-20 17:31:35 +08:00
gtt.c drm/i915/gvt: fix an error string format 2016-10-25 10:35:54 +08:00
gtt.h drm/i915/gvt: vGPU graphics memory virtualization 2016-10-14 18:12:33 +08:00
gvt.c drm/i915/gvt: fix detect_host calling logic 2016-10-26 13:23:04 +08:00
gvt.h drm/i915/gvt: add full vGPU reset support 2016-10-27 11:20:19 +08:00
handlers.c drm/i915/gvt: throw error basing on execlist submit result 2016-10-27 11:20:42 +08:00
hypercall.h drm/i915/gvt: vGPU MMIO virtualization 2016-10-14 18:12:59 +08:00
interrupt.c drm/i915/gvt: mark symbols static where possible 2016-10-20 17:31:36 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
Makefile drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
mmio.c drm/i915/gvt: clean up intel_gvt.h as interface for i915 core 2016-10-20 17:18:30 +08:00
mmio.h drm/i915/gvt: vGPU MMIO virtualization 2016-10-14 18:12:59 +08:00
mpt.h drm/i915/gvt: vGPU PCI configuration space virtualization 2016-10-14 18:12:46 +08:00
opregion.c drm/i915/gvt: Fix failure when ACPI is not enabled 2016-10-24 10:43:47 +08:00
reg.h drm/i915/gvt: vGPU workload submission 2016-10-14 18:14:37 +08:00
render.c drm/i915/gvt: Fix broken mocs offset 2016-10-24 10:45:44 +08:00
render.h drm/i915/gvt: vGPU context switch 2016-10-14 18:15:13 +08:00
sched_policy.c drm/i915/gvt: mark symbols static where possible 2016-10-20 17:31:36 +08:00
sched_policy.h drm/i915/gvt: vGPU schedule policy framework 2016-10-14 18:15:02 +08:00
scheduler.c drm/i915/gvt: fix nested sleeping issue 2016-10-27 11:20:42 +08:00
scheduler.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
trace.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
vgpu.c drm/i915/gvt: add full vGPU reset support 2016-10-27 11:20:19 +08:00