Searched refs:mm_table (Results 1 – 10 of 10) sorted by relevance
1373 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in polaris10_populate_smc_vce_level() local1378 table->VceLevelCount = (uint8_t)(mm_table->count); in polaris10_populate_smc_vce_level()1382 table->VceLevel[count].Frequency = mm_table->entries[count].eclk; in polaris10_populate_smc_vce_level()1385 (mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; in polaris10_populate_smc_vce_level()1389 mm_table->entries[count].vddc - VDDC_VDDCI_DELTA); in polaris10_populate_smc_vce_level()1391 vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA; in polaris10_populate_smc_vce_level()1423 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in polaris10_populate_smc_samu_level() local1428 table->SamuLevelCount = (uint8_t)(mm_table->count); in polaris10_populate_smc_samu_level()1432 table->SamuLevel[count].Frequency = mm_table->entries[count].samclock; in polaris10_populate_smc_samu_level()1434 (mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; in polaris10_populate_smc_samu_level()[all …]
1426 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in fiji_populate_smc_vce_level() local1429 table->VceLevelCount = (uint8_t)(mm_table->count); in fiji_populate_smc_vce_level()1433 table->VceLevel[count].Frequency = mm_table->entries[count].eclk; in fiji_populate_smc_vce_level()1436 (mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; in fiji_populate_smc_vce_level()1438 ((mm_table->entries[count].vddc - VDDC_VDDCI_DELTA) * in fiji_populate_smc_vce_level()1465 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in fiji_populate_smc_acp_level() local1468 table->AcpLevelCount = (uint8_t)(mm_table->count); in fiji_populate_smc_acp_level()1472 table->AcpLevel[count].Frequency = mm_table->entries[count].aclk; in fiji_populate_smc_acp_level()1473 table->AcpLevel[count].MinVoltage |= (mm_table->entries[count].vddc * in fiji_populate_smc_acp_level()1475 table->AcpLevel[count].MinVoltage |= ((mm_table->entries[count].vddc - in fiji_populate_smc_acp_level()[all …]
1317 phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in tonga_populate_smc_uvd_level() local1320 table->UvdLevelCount = (uint8_t) (mm_table->count); in tonga_populate_smc_uvd_level()1324 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in tonga_populate_smc_uvd_level()1325 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in tonga_populate_smc_uvd_level()1328 mm_table->entries[count].vddc); in tonga_populate_smc_uvd_level()1332 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_uvd_level()1335 mm_table->entries[count].vddc - VDDC_VDDCI_DELTA); in tonga_populate_smc_uvd_level()1377 phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in tonga_populate_smc_vce_level() local1380 table->VceLevelCount = (uint8_t) (mm_table->count); in tonga_populate_smc_vce_level()1385 mm_table->entries[count].eclk; in tonga_populate_smc_vce_level()[all …]
1202 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in vegam_populate_smc_vce_level() local1207 table->VceLevelCount = (uint8_t)(mm_table->count); in vegam_populate_smc_vce_level()1211 table->VceLevel[count].Frequency = mm_table->entries[count].eclk; in vegam_populate_smc_vce_level()1214 (mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; in vegam_populate_smc_vce_level()1218 mm_table->entries[count].vddc - VDDC_VDDCI_DELTA); in vegam_populate_smc_vce_level()1220 vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA; in vegam_populate_smc_vce_level()1315 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in vegam_populate_smc_uvd_level() local1320 table->UvdLevelCount = (uint8_t)(mm_table->count); in vegam_populate_smc_uvd_level()1325 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in vegam_populate_smc_uvd_level()1326 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in vegam_populate_smc_uvd_level()[all …]
213 if (!amdgpu_sriov_vf(adev) || adev->virt.mm_table.gpu_addr) in amdgpu_virt_alloc_mm_table()219 &adev->virt.mm_table.bo, in amdgpu_virt_alloc_mm_table()220 &adev->virt.mm_table.gpu_addr, in amdgpu_virt_alloc_mm_table()221 (void *)&adev->virt.mm_table.cpu_addr); in amdgpu_virt_alloc_mm_table()227 memset((void *)adev->virt.mm_table.cpu_addr, 0, PAGE_SIZE); in amdgpu_virt_alloc_mm_table()229 adev->virt.mm_table.gpu_addr, in amdgpu_virt_alloc_mm_table()230 adev->virt.mm_table.cpu_addr); in amdgpu_virt_alloc_mm_table()241 if (!amdgpu_sriov_vf(adev) || !adev->virt.mm_table.gpu_addr) in amdgpu_virt_free_mm_table()244 amdgpu_bo_free_kernel(&adev->virt.mm_table.bo, in amdgpu_virt_free_mm_table()245 &adev->virt.mm_table.gpu_addr, in amdgpu_virt_free_mm_table()[all …]
440 struct amdgpu_mm_table *table = &adev->virt.mm_table; in jpeg_v4_0_start_sriov()
1966 uint32_t *init_table = adev->virt.mm_table.cpu_addr; in vcn_v2_0_start_sriov()2093 return vcn_v2_0_start_mmsch(adev, &adev->virt.mm_table); in vcn_v2_0_start_sriov()
473 struct amdgpu_mm_table *table = &adev->virt.mm_table; in jpeg_v5_0_1_start_sriov()
275 struct amdgpu_mm_table *table = &adev->virt.mm_table; in jpeg_v4_0_3_start_sriov()
2213 struct phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = in smu7_patch_voltage_dependency_tables_with_lookup_table() local2254 for (entry_id = 0; entry_id < mm_table->count; ++entry_id) { in smu7_patch_voltage_dependency_tables_with_lookup_table()2255 voltage_id = mm_table->entries[entry_id].vddcInd; in smu7_patch_voltage_dependency_tables_with_lookup_table()2262 mm_table->entries[entry_id].vddc = in smu7_patch_voltage_dependency_tables_with_lookup_table()2355 phm_ppt_v1_mm_clock_voltage_dependency_table *mm_table = pptable_info->mm_dep_table; in smu7_calc_mm_voltage_dependency_table() local2358 for (entry_id = 0; entry_id < mm_table->count; entry_id++) { in smu7_calc_mm_voltage_dependency_table()2359 if (mm_table->entries[entry_id].vddgfx_offset & (1 << 15)) in smu7_calc_mm_voltage_dependency_table()2360 v_record.us_vdd = mm_table->entries[entry_id].vddc + in smu7_calc_mm_voltage_dependency_table()2361 mm_table->entries[entry_id].vddgfx_offset - 0xFFFF; in smu7_calc_mm_voltage_dependency_table()2363 v_record.us_vdd = mm_table->entries[entry_id].vddc + in smu7_calc_mm_voltage_dependency_table()[all …]