Lines Matching refs:balancer

191 	const struct workload_balancer *balancer;  member
1939 int (*init)(const struct workload_balancer *balancer,
1941 unsigned int (*get_qd)(const struct workload_balancer *balancer,
1944 enum intel_engine_id (*balance)(const struct workload_balancer *balancer,
1949 rr_balance(const struct workload_balancer *balancer, in rr_balance() argument
1961 rand_balance(const struct workload_balancer *balancer, in rand_balance() argument
1968 get_qd_depth(const struct workload_balancer *balancer, in get_qd_depth() argument
1993 __qd_balance(const struct workload_balancer *balancer, in __qd_balance() argument
2001 qd[VCS1] = balancer->get_qd(balancer, wrk, VCS1); in __qd_balance()
2004 qd[VCS2] = balancer->get_qd(balancer, wrk, VCS2); in __qd_balance()
2019 qd_balance(const struct workload_balancer *balancer, in qd_balance() argument
2022 return __qd_balance(balancer, wrk, w, false); in qd_balance()
2026 qdr_balance(const struct workload_balancer *balancer, in qdr_balance() argument
2029 return __qd_balance(balancer, wrk, w, true); in qdr_balance()
2033 qdavg_balance(const struct workload_balancer *balancer, in qdavg_balance() argument
2042 qd[engine] = balancer->get_qd(balancer, wrk, engine); in qdavg_balance()
2090 __rt_balance(const struct workload_balancer *balancer, in __rt_balance() argument
2125 rt_balance(const struct workload_balancer *balancer, in rt_balance() argument
2129 return __rt_balance(balancer, wrk, w, false); in rt_balance()
2133 rtr_balance(const struct workload_balancer *balancer, in rtr_balance() argument
2136 return __rt_balance(balancer, wrk, w, true); in rtr_balance()
2140 rtavg_balance(const struct workload_balancer *balancer, in rtavg_balance() argument
2184 context_balance(const struct workload_balancer *balancer, in context_balance() argument
2191 get_engine_busy(const struct workload_balancer *balancer, in get_engine_busy() argument
2230 busy_avg_balance(const struct workload_balancer *balancer, in busy_avg_balance() argument
2233 get_pmu_stats(balancer, wrk); in busy_avg_balance()
2235 return qdavg_balance(balancer, wrk, w); in busy_avg_balance()
2239 busy_balance(const struct workload_balancer *balancer, in busy_balance() argument
2242 get_pmu_stats(balancer, wrk); in busy_balance()
2244 return qd_balance(balancer, wrk, w); in busy_balance()
2248 busy_init(const struct workload_balancer *balancer, struct workload *wrk) in busy_init() argument
2390 global_get_qd(const struct workload_balancer *balancer, in global_get_qd() argument
2401 global_balance(const struct workload_balancer *balancer, in global_balance() argument
2803 if (engine == VCS && wrk->balancer && in run_workload()
2804 wrk->balancer->balance) { in run_workload()
2805 engine = wrk->balancer->balance(wrk->balancer, in run_workload()
2882 if (wrk->balancer) in run_workload()
2885 if (wrk->balancer && wrk->balancer->get_qd) in run_workload()
3115 const struct workload_balancer *balancer = NULL; in main() local
3209 balancer = find_balancer_by_id(i); in main()
3210 if (balancer) { in main()
3211 igt_assert(intel_gen(intel_get_drm_devid(fd)) >= balancer->min_gen); in main()
3212 flags |= BALANCE | balancer->flags; in main()
3216 if (!balancer) { in main()
3265 if ((flags & GLOBAL_BALANCE) && !balancer) { in main()
3321 balancer->name); in main()
3323 } else if (balancer) { in main()
3324 printf("Using %s balancer.\n", balancer->name); in main()
3346 w[i]->balancer = &global_balancer; in main()
3348 w[i]->global_balancer = balancer; in main()
3350 w[i]->balancer = balancer; in main()
3365 if (balancer && balancer->init) { in main()
3366 int ret = balancer->init(balancer, w[i]); in main()