]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: add some statistic routine for scheduler
authorPing Gao <ping.a.gao@intel.com>
Wed, 29 Mar 2017 16:36:35 +0000 (00:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 Mar 2017 05:32:28 +0000 (13:32 +0800)
commit5752b6547f5f169d0bebb79bf30d1fb8d8779189
tree05e9d0e7449ccc4a7b95b6d13ce664fb6e7ad2ba
parent9ebed3852c65270c2498cda5d48327af04b79d24
drm/i915/gvt: add some statistic routine for scheduler

Add some statistic routine to collect the time when vGPU is
scheduled in/out and the time of the last ctx submission.

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