drm/i915/gvt: control the scheduler by timeslice usage
authorPing Gao <ping.a.gao@intel.com>
Wed, 29 Mar 2017 16:36:40 +0000 (00:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 Mar 2017 05:34:10 +0000 (13:34 +0800)
commitb35f34d1da4e77637869c8041a355da810f69fb6
tree37a32fee445cb1875e7bd9bccb8a7a525b6af91b
parentafe04fbe6c522e73d5cc61a6660cce0e78630786
drm/i915/gvt: control the scheduler by timeslice usage

The timeslice usage will determine vGPU whether has chance to
schedule or not at every vGPU switch checkpoint.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/sched_policy.c