]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Don't mark vgpu context as inactive when preempted
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 1 Dec 2017 06:59:53 +0000 (14:59 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 4 Dec 2017 03:24:35 +0000 (11:24 +0800)
commitf67c31448ea92d899f12d3ca538bf2b593f44fc8
treef07086819365bb7e2cb2e528d71eef78163cbe0b
parentc21c8f26a85d1027e6d8dd084311eb40f1313069
drm/i915/gvt: Don't mark vgpu context as inactive when preempted

We shouldn't mark inactive for vGPU context if preempted,
which would still be re-scheduled later. So keep active state.

Fixes: 1c7a480ff0df ("drm/i915/execlists: Distinguish the incomplete context notifies")
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c