drm/i915/gvt: Fix gvt scheduler interval time
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Mar 2017 04:11:20 +0000 (12:11 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Mar 2017 08:46:45 +0000 (16:46 +0800)
commit2958b9013fcbabeeba221161d0712f5259f1e15d
tree0dada561408209b63474727eae8e8497a4b16d23
parent3cd23b828b37bd5ccf4b40132f12dbf20d7afdb6
drm/i915/gvt: Fix gvt scheduler interval time

Fix to correctly assign 1ms for gvt scheduler interval time,
as previous code using HZ is pretty broken. And use no delay
for start gvt scheduler function.

Fixes: 4b63960ebd3f ("drm/i915/gvt: vGPU schedule policy framework")
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: stable@vger.kernel.org # v4.10+
Acked-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/sched_policy.c