Searched refs:amdgpu_sched_jobs (Results 1 – 4 of 4) sorted by relevance
196 for (i = 0; i < amdgpu_sched_jobs; i++) { in amdgpu_ctx_entity_time()214 entity = kzalloc(struct_size(entity, fences, amdgpu_sched_jobs), in amdgpu_ctx_init_entity()280 for (i = 0; i < amdgpu_sched_jobs; ++i) { in amdgpu_ctx_fini_entity()765 idx = seq & (amdgpu_sched_jobs - 1); in amdgpu_ctx_add_fence()801 if (seq + amdgpu_sched_jobs < centity->sequence) { in amdgpu_ctx_get_fence()806 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]); in amdgpu_ctx_get_fence()867 idx = centity->sequence & (amdgpu_sched_jobs - 1); in amdgpu_ctx_wait_prev_fence()
1461 if (amdgpu_sched_jobs < 4) { in amdgpu_device_check_arguments()1463 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1464 amdgpu_sched_jobs = 4; in amdgpu_device_check_arguments()1465 } else if (!is_power_of_2(amdgpu_sched_jobs)) { in amdgpu_device_check_arguments()1467 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1468 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); in amdgpu_device_check_arguments()
147 int amdgpu_sched_jobs = 32; variable442 module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
177 extern int amdgpu_sched_jobs;