linux-stable/drivers/gpu
Yan Zhao 663a50ceac drm/i915/gvt: do not let pin count of shadow mm go negative
shadow mm's pin count got increased in workload preparation phase, which
is after workload scanning.
it will get decreased in complete_current_workload() anyway after
workload completion.
Sometimes, if a workload meets a scanning error, its shadow mm pin count
will not get increased but will get decreased in the end.
This patch lets shadow mm's pin count not go below 0.

Fixes: 2707e44466 ("drm/i915/gvt: vGPU graphics memory virtualization")
Cc: zhenyuw@linux.intel.com
Cc: stable@vger.kernel.org #4.14+
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2019-03-29 10:27:42 +08:00
..
drm drm/i915/gvt: do not let pin count of shadow mm go negative 2019-03-29 10:27:42 +08:00
host1x gpu: host1x: Continue CDMA execution starting with a next job 2019-02-07 18:34:25 +01:00
ipu-v3 media updates for v5.1-rc1 2019-03-09 14:45:54 -08:00
vga - qxl: Remove the conflicting framebuffers earlier 2019-03-14 11:37:46 +10:00
Makefile