]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Support event based scheduling
authorPing Gao <ping.a.gao@intel.com>
Wed, 24 May 2017 12:30:17 +0000 (20:30 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:16 +0000 (13:59 +0800)
commitc713cb2f9b7e1e9ffa8a379cecb13bc6eacd49b6
treef32339ea16083a9c68508e535451e1d84896459a
parent089f93c3f94c368157980578b1efc4f6014ebd97
drm/i915/gvt: Support event based scheduling

This patch decouple the time slice calculation and scheduler, let
other event be able to trigger scheduling without impact the
calculation for QoS.

v2: add only one new enum definition.
v3: fix typo.

Signed-off-by: Ping Gao <ping.a.gao@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/sched_policy.c