diff options
author | Ping Gao <ping.a.gao@intel.com> | 2017-03-30 00:36:36 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-03-30 13:32:31 +0800 |
commit | 32356920dae17ef3b04fe02a113418c983fc66ce (patch) | |
tree | 04413833dcc04629f7fed29d3e1b421d7544e2e9 /drivers/gpu/drm/omapdrm/omap_irq.c | |
parent | f6504cce54b26e4318697a854a50cf1a1cb3c066 (diff) |
drm/i915/gvt: factor out the scheduler
Factor out the scheduler to a more clear structure, the basic
logic is to find out next vGPU first and then schedule it.
vGPUs were ordered in a LRU list, scheduler scan from the LRU
list head and choose the first vGPU who has pending workload.
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