Home
last modified time | relevance | path

Searched refs:gfx_info (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_v12_1.c54 struct amdgpu_gfx_config *gfx_info = &mm->dev->adev->gfx.config; in mqd_symmetrically_map_cu_mask_v12_1() local
69 for (se = 0; se < gfx_info->max_shader_engines; se++) in mqd_symmetrically_map_cu_mask_v12_1()
70 for (sh = 0; sh < gfx_info->max_sh_per_se; sh++) in mqd_symmetrically_map_cu_mask_v12_1()
90 for (i = 0; i < gfx_info->max_shader_engines; i++) in mqd_symmetrically_map_cu_mask_v12_1()
95 for (sh = 0; sh < gfx_info->max_sh_per_se; sh++) { in mqd_symmetrically_map_cu_mask_v12_1()
96 for (se = 0; se < gfx_info->max_shader_engines; se++) { in mqd_symmetrically_map_cu_mask_v12_1()
H A Dkfd_crat.c2259 struct amdgpu_gfx_config *gfx_info = &kdev->adev->gfx.config; in kfd_create_vcrat_image_gpu() local
2308 cu->array_count = gfx_info->max_sh_per_se * in kfd_create_vcrat_image_gpu()
2309 gfx_info->max_shader_engines; in kfd_create_vcrat_image_gpu()
2310 total_num_of_cu = (cu->array_count * gfx_info->max_cu_per_sh); in kfd_create_vcrat_image_gpu()
2312 cu->num_cu_per_array = gfx_info->max_cu_per_sh; in kfd_create_vcrat_image_gpu()
2314 cu->num_banks = gfx_info->max_shader_engines; in kfd_create_vcrat_image_gpu()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c536 struct amdgpu_gfx_config *gfx_info = &adev->gfx.config; in amdgpu_gfx_mqd_symmetrically_map_cu_mask() local
556 for (se = 0; se < gfx_info->max_shader_engines; se++) in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
557 for (sh = 0; sh < gfx_info->max_sh_per_se; sh++) in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
562 for (i = 0; i < gfx_info->max_shader_engines; i++) in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
567 for (sh = 0; sh < gfx_info->max_sh_per_se; sh++) { in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
568 for (se = 0; se < gfx_info->max_shader_engines; se++) { in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c571 static struct gfx_sysfs_info gfx_info[GFX_MAX]; variable
5365 p->gfx_rc6_ms = gfx_info[GFX_rc6].val_ull; in get_counters()
5368 p->gfx_mhz = gfx_info[GFX_MHz].val; in get_counters()
5371 p->gfx_act_mhz = gfx_info[GFX_ACTMHz].val; in get_counters()
5374 p->sam_mc6_ms = gfx_info[SAM_mc6].val_ull; in get_counters()
5377 p->sam_mhz = gfx_info[SAM_MHz].val; in get_counters()
5380 p->sam_act_mhz = gfx_info[SAM_ACTMHz].val; in get_counters()
6530 rewind(gfx_info[idx].fp); in snapshot_graphics()
6531 fflush(gfx_info[idx].fp); in snapshot_graphics()
6536 retval = fscanf(gfx_info[idx].fp, "%lld", &gfx_info[idx].val_ull); in snapshot_graphics()
[all …]
/linux/arch/mips/include/asm/sn/
H A Dklconfig.h735 klinfo_t gfx_info; member