Commit 0b063bd3 authored by Zhenyu Wang's avatar Zhenyu Wang

drm/i915/gvt: cleanup some too chatty scheduler message

It's too chatty to have three places to tell us which one
is next vgpu for schedule. My log file was bloated to eat
all disk space..

Cc: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent b35f34d1
...@@ -150,9 +150,6 @@ static void try_to_schedule_next_vgpu(struct intel_gvt *gvt) ...@@ -150,9 +150,6 @@ static void try_to_schedule_next_vgpu(struct intel_gvt *gvt)
} }
} }
gvt_dbg_sched("switch to next vgpu %d\n",
scheduler->next_vgpu->id);
cur_time = ktime_get(); cur_time = ktime_get();
if (scheduler->current_vgpu) { if (scheduler->current_vgpu) {
vgpu_data = scheduler->current_vgpu->sched_data; vgpu_data = scheduler->current_vgpu->sched_data;
...@@ -224,17 +221,12 @@ static void tbs_sched_func(struct gvt_sched_data *sched_data) ...@@ -224,17 +221,12 @@ static void tbs_sched_func(struct gvt_sched_data *sched_data)
list_del_init(&vgpu_data->lru_list); list_del_init(&vgpu_data->lru_list);
list_add_tail(&vgpu_data->lru_list, list_add_tail(&vgpu_data->lru_list,
&sched_data->lru_runq_head); &sched_data->lru_runq_head);
gvt_dbg_sched("pick next vgpu %d\n", vgpu->id);
} else { } else {
scheduler->next_vgpu = gvt->idle_vgpu; scheduler->next_vgpu = gvt->idle_vgpu;
} }
out: out:
if (scheduler->next_vgpu) { if (scheduler->next_vgpu)
gvt_dbg_sched("try to schedule next vgpu %d\n",
scheduler->next_vgpu->id);
try_to_schedule_next_vgpu(gvt); try_to_schedule_next_vgpu(gvt);
}
} }
void intel_gvt_schedule(struct intel_gvt *gvt) void intel_gvt_schedule(struct intel_gvt *gvt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment