Home
last modified time | relevance | path

Searched refs:current_vgpu (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dsched_policy.c140 /* no need to schedule if next_vgpu is the same with current_vgpu, in try_to_schedule_next_vgpu()
143 if (scheduler->next_vgpu == scheduler->current_vgpu) { in try_to_schedule_next_vgpu()
161 vgpu_update_timeslice(scheduler->current_vgpu, cur_time); in try_to_schedule_next_vgpu()
166 scheduler->current_vgpu = scheduler->next_vgpu; in try_to_schedule_next_vgpu()
258 vgpu_update_timeslice(gvt->scheduler.current_vgpu, cur_time); in intel_gvt_schedule()
463 if (scheduler->current_vgpu == vgpu) { in intel_vgpu_stop_schedule()
466 scheduler->current_vgpu = NULL; in intel_vgpu_stop_schedule()
H A Dscheduler.h40 struct intel_vgpu *current_vgpu; member
H A Dscheduler.c811 if (!scheduler->current_vgpu) { in pick_next_workload()
821 if (!scheduler->current_vgpu->active || in pick_next_workload()
822 list_empty(workload_q_head(scheduler->current_vgpu, engine))) in pick_next_workload()
843 list_first_entry(workload_q_head(scheduler->current_vgpu, in pick_next_workload()
H A Dvgpu.c553 * The current_vgpu will set to NULL after stopping the in intel_gvt_reset_vgpu_locked()
556 if (scheduler->current_vgpu == NULL) { in intel_gvt_reset_vgpu_locked()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dsched_policy.c140 /* no need to schedule if next_vgpu is the same with current_vgpu, in try_to_schedule_next_vgpu()
143 if (scheduler->next_vgpu == scheduler->current_vgpu) { in try_to_schedule_next_vgpu()
161 vgpu_update_timeslice(scheduler->current_vgpu, cur_time); in try_to_schedule_next_vgpu()
166 scheduler->current_vgpu = scheduler->next_vgpu; in try_to_schedule_next_vgpu()
258 vgpu_update_timeslice(gvt->scheduler.current_vgpu, cur_time); in intel_gvt_schedule()
463 if (scheduler->current_vgpu == vgpu) { in intel_vgpu_stop_schedule()
466 scheduler->current_vgpu = NULL; in intel_vgpu_stop_schedule()
H A Dscheduler.h45 struct intel_vgpu *current_vgpu; member
H A Dscheduler.c859 if (!scheduler->current_vgpu) { in pick_next_workload()
870 scheduler->current_vgpu->status) || in pick_next_workload()
871 list_empty(workload_q_head(scheduler->current_vgpu, engine))) in pick_next_workload()
892 list_first_entry(workload_q_head(scheduler->current_vgpu, in pick_next_workload()
H A Dvgpu.c449 * The current_vgpu will set to NULL after stopping the in intel_gvt_reset_vgpu_locked()
452 if (scheduler->current_vgpu == NULL) { in intel_gvt_reset_vgpu_locked()

Completed in 8 milliseconds