summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_irq.c
diff options
context:
space:
mode:
authorPing Gao <ping.a.gao@intel.com>2017-03-30 10:03:24 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-03-30 13:34:04 +0800
commit39d467c2b71ccb4a55af830c117fafe0525caa12 (patch)
tree078251548e8d10ac542334055d2686efb8288926 /drivers/gpu/drm/omapdrm/omap_irq.c
parentbc90d097ae144fab1f789f8523b621de7125c6a8 (diff)
drm/i915/gvt: add basic function for weight control
This method tries to guarantee precision in second level, with the adjustment conducted in every 100ms. At the end of each vGPU switch calculate the sched time and subtract it from the time slice allocated; the allocated time slice for every 100ms together with remaining timeslice, will be used to decide how much timeslice allocated to this vGPU in the next 100ms slice, with the end goal to guarantee weight ratio in second level. 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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions