Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c196 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()
H A Damdgpu_device.c1461 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()
H A Damdgpu_drv.c147 int amdgpu_sched_jobs = 32; variable
442 module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444);
H A Damdgpu.h177 extern int amdgpu_sched_jobs;