|
@@ -133,9 +133,6 @@ static void try_to_schedule_next_vgpu(struct intel_gvt *gvt)
|
|
|
if (!scheduler->next_vgpu)
|
|
if (!scheduler->next_vgpu)
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
- gvt_dbg_sched("try to schedule next vgpu %d\n",
|
|
|
|
|
- scheduler->next_vgpu->id);
|
|
|
|
|
-
|
|
|
|
|
/*
|
|
/*
|
|
|
* after the flag is set, workload dispatch thread will
|
|
* after the flag is set, workload dispatch thread will
|
|
|
* stop dispatching workload for current vgpu
|
|
* 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? */
|
|
/* still have uncompleted workload? */
|
|
|
for_each_engine(engine, gvt->dev_priv, i) {
|
|
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;
|
|
return;
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
cur_time = ktime_get();
|
|
cur_time = ktime_get();
|