Home
last modified time | relevance | path

Searched refs:amdgpu_sched_jobs (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c103 entity = kcalloc(1, offsetof(typeof(*entity), fences[amdgpu_sched_jobs]), in amdgpu_ctx_init_entity()
177 for (i = 0; i < amdgpu_sched_jobs; ++i) in amdgpu_ctx_fini_entity()
444 idx = seq & (amdgpu_sched_jobs - 1); in amdgpu_ctx_add_fence()
479 if (seq + amdgpu_sched_jobs < centity->sequence) { in amdgpu_ctx_get_fence()
484 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]); in amdgpu_ctx_get_fence()
545 idx = centity->sequence & (amdgpu_sched_jobs - 1); in amdgpu_ctx_wait_prev_fence()
Damdgpu_device.c1324 if (amdgpu_sched_jobs < 4) { in amdgpu_device_check_arguments()
1326 amdgpu_sched_jobs); in amdgpu_device_check_arguments()
1327 amdgpu_sched_jobs = 4; in amdgpu_device_check_arguments()
1328 } else if (!is_power_of_2(amdgpu_sched_jobs)){ in amdgpu_device_check_arguments()
1330 amdgpu_sched_jobs); in amdgpu_device_check_arguments()
1331 amdgpu_sched_jobs = roundup_pow_of_two(amdgpu_sched_jobs); in amdgpu_device_check_arguments()
Damdgpu_drv.c125 int amdgpu_sched_jobs = 32; variable
389 module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
Damdgpu.h161 extern int amdgpu_sched_jobs;