]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/gvt: Kick scheduler when new workload queued
authorChangbin Du <changbin.du@intel.com>
Wed, 29 Nov 2017 07:40:07 +0000 (15:40 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 4 Dec 2017 03:24:35 +0000 (11:24 +0800)
commitc130456cefd4cf9531f12f3e9b23805d34706ac0
tree46229a9e9a16cc6c77f364ebc5ba188e49721ea2
parent59a716c6477c2a095adf274e8f76b9889af7bc7b
drm/i915/gvt: Kick scheduler when new workload queued

The current schedule policy rely on a 1ms timer to execute workload. This
can introduce maximum 1ms unnecessary latency. This is especially bad for
small media workloads.

And I don't think we need this timer for QoS, but the change is not simply
remove the code. So I made a new API intel_gvt_kick_schedule() for future
change.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/sched_policy.c
drivers/gpu/drm/i915/gvt/sched_policy.h
drivers/gpu/drm/i915/gvt/scheduler.c