]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: create an idle vGPU
authorPing Gao <ping.a.gao@intel.com>
Wed, 29 Mar 2017 16:36:39 +0000 (00:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 Mar 2017 05:34:07 +0000 (13:34 +0800)
commit3414cfffbf44a23d1bf7354b5febc700025dd565
tree7722a11d3c7d1dd8b5e6866409dffe161af41bd8
parent602d9da493675e845aa61bffd4c8890e288aa302
drm/i915/gvt: create an idle vGPU

vGPU resource is allocated by scheduler. To account for non-allocated
free cycles, we create an idle vGPU as the placeholder similar to idle task
concept, which is useful to handle some corner cases in scheduling policy.

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/gvt.c
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/vgpu.c