summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/sched_policy.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2017-04-12 14:22:50 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-04-13 13:49:25 +0800
commit954180aa69325feade02fa79f056fe1561f31fbb (patch)
tree857099382216a9b788e5ba7c202eb916a50f3ddd /drivers/gpu/drm/i915/gvt/sched_policy.c
parentefa69d734adbf8a562d58d9fdc3429f2717764e7 (diff)
downloadop-kernel-dev-954180aa69325feade02fa79f056fe1561f31fbb.zip
op-kernel-dev-954180aa69325feade02fa79f056fe1561f31fbb.tar.gz
drm/i915/gvt: remove some debug messages in scheduler timer handler
As those debug messages might appear in every timer call for scheduler, it's too noisy, eat too much log and aren't meaningful. So remove them. Cc: Ping Gao <ping.a.gao@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/sched_policy.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/sched_policy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/gvt/sched_policy.c b/drivers/gpu/drm/i915/gvt/sched_policy.c
index f459ec8..79ba4b34 100644
--- a/drivers/gpu/drm/i915/gvt/sched_policy.c
+++ b/drivers/gpu/drm/i915/gvt/sched_policy.c
@@ -133,9 +133,6 @@ static void try_to_schedule_next_vgpu(struct intel_gvt *gvt)
if (!scheduler->next_vgpu)
return;
- gvt_dbg_sched("try to schedule next vgpu %d\n",
- scheduler->next_vgpu->id);
-
/*
* after the flag is set, workload dispatch thread will
* stop dispatching workload for current vgpu
@@ -144,10 +141,8 @@ static void try_to_schedule_next_vgpu(struct intel_gvt *gvt)
/* still have uncompleted workload? */
for_each_engine(engine, gvt->dev_priv, i) {
- if (scheduler->current_workload[i]) {
- gvt_dbg_sched("still have running workload\n");
+ if (scheduler->current_workload[i])
return;
- }
}
cur_time = ktime_get();
OpenPOWER on IntegriCloud