Home
last modified time | relevance | path

Searched refs:num_xcc (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Daqua_vanjaram.c319 int num_xcc, num_xcc_per_xcp = 0; in __aqua_vanjaram_get_xcc_per_xcp() local
321 num_xcc = NUM_XCC(xcp_mgr->adev->gfx.xcc_mask); in __aqua_vanjaram_get_xcc_per_xcp()
325 num_xcc_per_xcp = num_xcc; in __aqua_vanjaram_get_xcc_per_xcp()
328 num_xcc_per_xcp = num_xcc / 2; in __aqua_vanjaram_get_xcc_per_xcp()
331 num_xcc_per_xcp = num_xcc / 3; in __aqua_vanjaram_get_xcc_per_xcp()
334 num_xcc_per_xcp = num_xcc / 4; in __aqua_vanjaram_get_xcc_per_xcp()
412 int num_xcc; in __aqua_vanjaram_get_auto_mode() local
414 num_xcc = NUM_XCC(xcp_mgr->adev->gfx.xcc_mask); in __aqua_vanjaram_get_auto_mode()
419 if (adev->gmc.num_mem_partitions == num_xcc) in __aqua_vanjaram_get_auto_mode()
422 if (adev->gmc.num_mem_partitions == num_xcc / 2) in __aqua_vanjaram_get_auto_mode()
[all …]
H A Dgfx_v9_4_3.c185 int i, num_xcc; in gfx_v9_4_3_set_kiq_pm4_funcs() local
187 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in gfx_v9_4_3_set_kiq_pm4_funcs()
188 for (i = 0; i < num_xcc; i++) in gfx_v9_4_3_set_kiq_pm4_funcs()
194 int i, num_xcc, dev_inst; in gfx_v9_4_3_init_golden_registers() local
196 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in gfx_v9_4_3_init_golden_registers()
197 for (i = 0; i < num_xcc; i++) { in gfx_v9_4_3_init_golden_registers()
452 int r, i, num_xcc; in gfx_v9_4_3_mec_init() local
461 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in gfx_v9_4_3_mec_init()
462 for (i = 0; i < num_xcc; i++) in gfx_v9_4_3_mec_init()
469 adev->gfx.num_compute_rings * num_xcc * GFX9_MEC_HPD_SIZE; in gfx_v9_4_3_mec_init()
[all …]
H A Damdgpu_gfx.c214 int num_xcc = adev->gfx.xcc_mask ? NUM_XCC(adev->gfx.xcc_mask) : 1; in amdgpu_gfx_compute_queue_acquire() local
219 for (j = 0; j < num_xcc; j++) { in amdgpu_gfx_compute_queue_acquire()
231 for (j = 0; j < num_xcc; j++) { in amdgpu_gfx_compute_queue_acquire()
237 for (j = 0; j < num_xcc; j++) { in amdgpu_gfx_compute_queue_acquire()
910 int num_xcc = adev->gfx.xcc_mask ? NUM_XCC(adev->gfx.xcc_mask) : 1; in amdgpu_gfx_ras_error_func() local
911 uint32_t xcc_mask = GENMASK(num_xcc - 1, 0); in amdgpu_gfx_ras_error_func()
1236 int ret = 0, num_xcc; in amdgpu_gfx_set_compute_partition() local
1238 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in amdgpu_gfx_set_compute_partition()
1239 if (num_xcc % 2 != 0) in amdgpu_gfx_set_compute_partition()
1249 if (num_xcc%4) in amdgpu_gfx_set_compute_partition()
[all …]
H A Dgmc_v9_0.c1885 int num_xcc, xcc_id; in gmc_v9_0_init_acpi_mem_ranges() local
1888 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in gmc_v9_0_init_acpi_mem_ranges()
1889 xcc_mask = (1U << num_xcc) - 1; in gmc_v9_0_init_acpi_mem_ranges()
H A Damdgpu_ttm.c846 int num_xcc = max(1U, adev->gfx.num_xcc_per_xcp); in amdgpu_ttm_gart_bind_gfx9_mqd() local
853 do_div(pages_per_xcc, num_xcc); in amdgpu_ttm_gart_bind_gfx9_mqd()
855 for (i = 0, page_idx = 0; i < num_xcc; i++, page_idx += pages_per_xcc) { in amdgpu_ttm_gart_bind_gfx9_mqd()
H A Damdgpu_ras.c339 int num_xcc = adev->gfx.xcc_mask ? NUM_XCC(adev->gfx.xcc_mask) : 1; in amdgpu_ras_instance_mask_check() local
343 if (num_xcc <= 1 && inst_mask) { in amdgpu_ras_instance_mask_check()
354 mask = GENMASK(num_xcc - 1, 0); in amdgpu_ras_instance_mask_check()
/openbmc/linux/include/uapi/linux/
H A Dkfd_ioctl.h136 __u32 num_xcc; member
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c1068 device_info.num_xcc = NUM_XCC(pdd->dev->xcc_mask); in kfd_dbg_trap_device_snapshot()