]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Audit and shadow workload during ELSP writing
authorPing Gao <ping.a.gao@intel.com>
Thu, 29 Jun 2017 04:22:43 +0000 (12:22 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Aug 2017 02:26:07 +0000 (10:26 +0800)
commit6c7c2fe9a15f959b42d9d752e2020e1d87ae291b
tree937393c462eae58aaa09657d927682bf48926c6e
parent71bcd08d835faf633e26fed718b9b0d17b3ab964
drm/i915/gvt: Audit and shadow workload during ELSP writing

Let the workload audit and shadow ahead of vGPU scheduling, that
will eliminate GPU idle time and improve performance for multi-VM.

The performance of Heaven running simultaneously in 3VMs has
improved 20% after this patch.

v2:Remove condition current->vgpu==vgpu when shadow during ELSP
writing.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/gvt/scheduler.h