Searched refs:amdgpu_sched_jobs (Results 1 – 4 of 4) sorted by relevance
194 for (i = 0; i < amdgpu_sched_jobs; i++) { in amdgpu_ctx_entity_time()212 entity = kzalloc(struct_size(entity, fences, amdgpu_sched_jobs), in amdgpu_ctx_init_entity()266 for (i = 0; i < amdgpu_sched_jobs; ++i) { in amdgpu_ctx_fini_entity()728 idx = seq & (amdgpu_sched_jobs - 1); in amdgpu_ctx_add_fence()764 if (seq + amdgpu_sched_jobs < centity->sequence) { in amdgpu_ctx_get_fence()769 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]); in amdgpu_ctx_get_fence()830 idx = centity->sequence & (amdgpu_sched_jobs - 1); in amdgpu_ctx_wait_prev_fence()
1511 if (amdgpu_sched_jobs < 4) { in amdgpu_device_check_arguments()1513 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1514 amdgpu_sched_jobs = 4; in amdgpu_device_check_arguments()1515 } else if (!is_power_of_2(amdgpu_sched_jobs)){ in amdgpu_device_check_arguments()1517 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1518 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); in amdgpu_device_check_arguments()
138 int amdgpu_sched_jobs = 32; variable433 module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
180 extern int amdgpu_sched_jobs;