Home
last modified time | relevance | path

Searched refs:UvdLevel (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c1324 table->UvdLevel[count].MinVoltage = 0; 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()
1327 table->UvdLevel[count].MinVoltage |= in vegam_populate_smc_uvd_level()
1338 table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in vegam_populate_smc_uvd_level()
1339 table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in vegam_populate_smc_uvd_level()
1343 table->UvdLevel[count].VclkFrequency, &dividers); in vegam_populate_smc_uvd_level()
1347 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in vegam_populate_smc_uvd_level()
1350 table->UvdLevel[count].DclkFrequency, &dividers); in vegam_populate_smc_uvd_level()
1354 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in vegam_populate_smc_uvd_level()
[all …]
H A Dfiji_smumgr.c1568 table->UvdLevel[count].MinVoltage = 0; in fiji_populate_smc_uvd_level()
1569 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in fiji_populate_smc_uvd_level()
1570 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in fiji_populate_smc_uvd_level()
1571 table->UvdLevel[count].MinVoltage |= (mm_table->entries[count].vddc * in fiji_populate_smc_uvd_level()
1573 table->UvdLevel[count].MinVoltage |= ((mm_table->entries[count].vddc - in fiji_populate_smc_uvd_level()
1575 table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in fiji_populate_smc_uvd_level()
1579 table->UvdLevel[count].VclkFrequency, &dividers); in fiji_populate_smc_uvd_level()
1583 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in fiji_populate_smc_uvd_level()
1586 table->UvdLevel[count].DclkFrequency, &dividers); in fiji_populate_smc_uvd_level()
1590 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in fiji_populate_smc_uvd_level()
[all …]
H A Dpolaris10_smumgr.c1537 table->UvdLevel[count].MinVoltage = 0; in polaris10_populate_smc_uvd_level()
1538 table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk; in polaris10_populate_smc_uvd_level()
1539 table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk; in polaris10_populate_smc_uvd_level()
1540 table->UvdLevel[count].MinVoltage |= (mm_table->entries[count].vddc * in polaris10_populate_smc_uvd_level()
1551 table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; in polaris10_populate_smc_uvd_level()
1552 table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT; in polaris10_populate_smc_uvd_level()
1556 table->UvdLevel[count].VclkFrequency, &dividers); in polaris10_populate_smc_uvd_level()
1560 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in polaris10_populate_smc_uvd_level()
1563 table->UvdLevel[count].DclkFrequency, &dividers); in polaris10_populate_smc_uvd_level()
1567 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in polaris10_populate_smc_uvd_level()
[all …]
H A Dtonga_smumgr.c1324 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()
1326 table->UvdLevel[count].MinVoltage.Vddc = in tonga_populate_smc_uvd_level()
1329 table->UvdLevel[count].MinVoltage.VddGfx = in tonga_populate_smc_uvd_level()
1333 table->UvdLevel[count].MinVoltage.Vddci = in tonga_populate_smc_uvd_level()
1336 table->UvdLevel[count].MinVoltage.Phases = 1; in tonga_populate_smc_uvd_level()
1341 table->UvdLevel[count].VclkFrequency, in tonga_populate_smc_uvd_level()
1348 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in tonga_populate_smc_uvd_level()
1351 table->UvdLevel[count].DclkFrequency, &dividers); in tonga_populate_smc_uvd_level()
1356 table->UvdLevel[count].DclkDivider = in tonga_populate_smc_uvd_level()
[all …]
H A Dci_smumgr.c1530 table->UvdLevel[count].VclkFrequency = in ci_populate_smc_uvd_level()
1532 table->UvdLevel[count].DclkFrequency = in ci_populate_smc_uvd_level()
1534 table->UvdLevel[count].MinVddc = in ci_populate_smc_uvd_level()
1536 table->UvdLevel[count].MinVddcPhases = 1; in ci_populate_smc_uvd_level()
1539 table->UvdLevel[count].VclkFrequency, &dividers); in ci_populate_smc_uvd_level()
1543 table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider; in ci_populate_smc_uvd_level()
1546 table->UvdLevel[count].DclkFrequency, &dividers); in ci_populate_smc_uvd_level()
1550 table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider; in ci_populate_smc_uvd_level()
1551 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in ci_populate_smc_uvd_level()
1552 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); in ci_populate_smc_uvd_level()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dsmu7_fusion.h226 SMU7_Fusion_UvdLevel UvdLevel[SMU7_MAX_LEVELS_UVD]; member
H A Dci_dpm.c2615 table->UvdLevel[count].VclkFrequency = in ci_populate_smc_uvd_level()
2617 table->UvdLevel[count].DclkFrequency = in ci_populate_smc_uvd_level()
2619 table->UvdLevel[count].MinVddc = in ci_populate_smc_uvd_level()
2621 table->UvdLevel[count].MinVddcPhases = 1; in ci_populate_smc_uvd_level()
2625 table->UvdLevel[count].VclkFrequency, false, &dividers); in ci_populate_smc_uvd_level()
2629 table->UvdLevel[count].VclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level()
2633 table->UvdLevel[count].DclkFrequency, false, &dividers); in ci_populate_smc_uvd_level()
2637 table->UvdLevel[count].DclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level()
2639 table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency); in ci_populate_smc_uvd_level()
2640 table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency); in ci_populate_smc_uvd_level()
[all …]
H A Dsmu7_discrete.h314 SMU7_Discrete_UvdLevel UvdLevel [SMU7_MAX_LEVELS_UVD]; member
H A Dkv_dpm.c721 offsetof(SMU7_Fusion_DpmTable, UvdLevel), in kv_populate_uvd_table()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dsmu7_fusion.h226 SMU7_Fusion_UvdLevel UvdLevel[SMU7_MAX_LEVELS_UVD]; member
H A Dsmu7_discrete.h328 SMU7_Discrete_UvdLevel UvdLevel [SMU7_MAX_LEVELS_UVD]; member
H A Dsmu72_discrete.h270 SMU72_Discrete_UvdLevel UvdLevel[SMU72_MAX_LEVELS_UVD]; member
H A Dsmu74_discrete.h287 SMU74_Discrete_UvdLevel UvdLevel[SMU74_MAX_LEVELS_UVD]; member
H A Dsmu73_discrete.h244 SMU73_Discrete_UvdLevel UvdLevel[SMU73_MAX_LEVELS_UVD]; member
H A Dsmu75_discrete.h292 SMU75_Discrete_UvdLevel UvdLevel [SMU75_MAX_LEVELS_UVD]; member