]> git.proxmox.com Git - mirror_ubuntu-bionic-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>
Wed, 6 Dec 2017 03:34:10 +0000 (11:34 +0800)
commitac7688c0397442f1c9eef7069737089660322497
tree2f7b116ef295964f433a17d1881e3336f0df685a
parent29f9e425973d3c7cdfc32725a4d7c4c2f537d5a9
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: d6c0511300dc ("drm/i915/execlists: Distinguish the incomplete context notifies")
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit da5f99eaccc10e30bf82eb02b1be74703b878720)
drivers/gpu/drm/i915/gvt/scheduler.c