Searched refs:amdgpu_sched_jobs (Results 1 – 4 of 4) sorted by relevance
197 for (i = 0; i < amdgpu_sched_jobs; i++) { in amdgpu_ctx_entity_time()215 entity = kzalloc(struct_size(entity, fences, amdgpu_sched_jobs), in amdgpu_ctx_init_entity()281 for (i = 0; i < amdgpu_sched_jobs; ++i) { in amdgpu_ctx_fini_entity()766 idx = seq & (amdgpu_sched_jobs - 1); in amdgpu_ctx_add_fence()802 if (seq + amdgpu_sched_jobs < centity->sequence) { in amdgpu_ctx_get_fence()807 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]); in amdgpu_ctx_get_fence()868 idx = centity->sequence & (amdgpu_sched_jobs - 1); in amdgpu_ctx_wait_prev_fence()
1921 if (amdgpu_sched_jobs < 4) { in amdgpu_device_check_arguments()1923 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1924 amdgpu_sched_jobs = 4; in amdgpu_device_check_arguments()1925 } else if (!is_power_of_2(amdgpu_sched_jobs)) { in amdgpu_device_check_arguments()1927 amdgpu_sched_jobs); in amdgpu_device_check_arguments()1928 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); in amdgpu_device_check_arguments()
163 int amdgpu_sched_jobs = 32; variable478 module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
192 extern int amdgpu_sched_jobs;