Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 954180aa authored by Zhenyu Wang's avatar Zhenyu Wang
Browse files

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: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent efa69d73
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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,11 +141,9 @@ 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();
	if (scheduler->current_vgpu) {
+1 −4
Original line number Diff line number Diff line
@@ -274,11 +274,8 @@ static struct intel_vgpu_workload *pick_next_workload(
		goto out;
	}

	if (list_empty(workload_q_head(scheduler->current_vgpu, ring_id))) {
		gvt_dbg_sched("ring id %d stop - no available workload\n",
				ring_id);
	if (list_empty(workload_q_head(scheduler->current_vgpu, ring_id)))
		goto out;
	}

	/*
	 * still have current workload, maybe the workload disptacher