drm/i915/gvt: set max priority for gvt context
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 4 Dec 2017 02:42:58 +0000 (10:42 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 6 Dec 2017 03:38:21 +0000 (11:38 +0800)
commit11474e9091cf2002e948647fd9f63a7f027e488a
treeb0e772af6faa8f7900b4e843314184c75479f557
parentac7688c0397442f1c9eef7069737089660322497
drm/i915/gvt: set max priority for gvt context

This is to workaround guest driver hang regression after
preemption enable that gvt hasn't enabled handling of that
for guest workload. So in effect this disables preemption
for gvt context now.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit 1603660b3342269c95fcafee1945790342a8c28e)
drivers/gpu/drm/i915/gvt/scheduler.c