Searched refs:num_xcc (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | aqua_vanjaram.c | 312 int num_xcc, num_xcc_per_xcp = 0; in __aqua_vanjaram_get_xcc_per_xcp() local 314 num_xcc = NUM_XCC(xcp_mgr->adev->gfx.xcc_mask); in __aqua_vanjaram_get_xcc_per_xcp() 318 num_xcc_per_xcp = num_xcc; in __aqua_vanjaram_get_xcc_per_xcp() 321 num_xcc_per_xcp = num_xcc / 2; in __aqua_vanjaram_get_xcc_per_xcp() 324 num_xcc_per_xcp = num_xcc / 3; in __aqua_vanjaram_get_xcc_per_xcp() 327 num_xcc_per_xcp = num_xcc / 4; in __aqua_vanjaram_get_xcc_per_xcp() 405 int num_xcc; in __aqua_vanjaram_get_auto_mode() local 407 num_xcc = NUM_XCC(xcp_mgr->adev->gfx.xcc_mask); in __aqua_vanjaram_get_auto_mode() 412 if (adev->gmc.num_mem_partitions == num_xcc) in __aqua_vanjaram_get_auto_mode() 415 if (adev->gmc.num_mem_partitions == num_xcc / 2) in __aqua_vanjaram_get_auto_mode() [all …]
|
D | gfx_v9_4_3.c | 185 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 …]
|
D | amdgpu_gfx.c | 214 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() 898 int num_xcc = adev->gfx.xcc_mask ? NUM_XCC(adev->gfx.xcc_mask) : 1; in amdgpu_gfx_ras_error_func() local 899 uint32_t xcc_mask = GENMASK(num_xcc - 1, 0); in amdgpu_gfx_ras_error_func() 1216 int ret = 0, num_xcc; in amdgpu_gfx_set_compute_partition() local 1218 num_xcc = NUM_XCC(adev->gfx.xcc_mask); in amdgpu_gfx_set_compute_partition() 1219 if (num_xcc % 2 != 0) in amdgpu_gfx_set_compute_partition() 1229 if (num_xcc%4) in amdgpu_gfx_set_compute_partition() [all …]
|
D | gmc_v9_0.c | 1885 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()
|
D | amdgpu_ttm.c | 828 int num_xcc = max(1U, adev->gfx.num_xcc_per_xcp); in amdgpu_ttm_gart_bind_gfx9_mqd() local 835 do_div(pages_per_xcc, num_xcc); in amdgpu_ttm_gart_bind_gfx9_mqd() 837 for (i = 0, page_idx = 0; i < num_xcc; i++, page_idx += pages_per_xcc) { in amdgpu_ttm_gart_bind_gfx9_mqd()
|
D | amdgpu_ras.c | 339 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()
|
/Linux-v6.6/include/uapi/linux/ |
D | kfd_ioctl.h | 136 __u32 num_xcc; member
|
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_debug.c | 1066 device_info.num_xcc = NUM_XCC(pdd->dev->xcc_mask); in kfd_dbg_trap_device_snapshot()
|