drm/i915/gvt: control the scheduler by timeslice usage
authorPing Gao <[email protected]>
Wed, 29 Mar 2017 16:36:40 +0000 (00:36 +0800)
committerZhenyu Wang <[email protected]>
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 <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
drivers/gpu/drm/i915/gvt/sched_policy.c