diff options
author | Changbin Du <changbin.du@intel.com> | 2017-11-29 15:40:07 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-12-04 11:24:35 +0800 |
commit | c130456cefd4cf9531f12f3e9b23805d34706ac0 (patch) | |
tree | 46229a9e9a16cc6c77f364ebc5ba188e49721ea2 /drivers/gpu/drm/i915/gvt/sched_policy.h | |
parent | 59a716c6477c2a095adf274e8f76b9889af7bc7b (diff) | |
download | linux-c130456cefd4cf9531f12f3e9b23805d34706ac0.tar.gz linux-c130456cefd4cf9531f12f3e9b23805d34706ac0.tar.bz2 linux-c130456cefd4cf9531f12f3e9b23805d34706ac0.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/sched_policy.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/sched_policy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/sched_policy.h b/drivers/gpu/drm/i915/gvt/sched_policy.h index ba00a5f7455f..7b59e3e88b8b 100644 --- a/drivers/gpu/drm/i915/gvt/sched_policy.h +++ b/drivers/gpu/drm/i915/gvt/sched_policy.h @@ -57,4 +57,6 @@ void intel_vgpu_start_schedule(struct intel_vgpu *vgpu); void intel_vgpu_stop_schedule(struct intel_vgpu *vgpu); +void intel_gvt_kick_schedule(struct intel_gvt *gvt); + #endif |