]> 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)
commit4fa7fbee18cbc6b901e4047380ae654f2e3368ff
tree05e9d0e7449ccc4a7b95b6d13ce664fb6e7ad2ba
parentb637e08daf8b6b08b29f5dca2d8e9badbf2c5192
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