Home
last modified time | relevance | path

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

/openbmc/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()
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()
1356 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in vegam_populate_smc_uvd_level()
1357 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); 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()
1586 table->UvdLevel[count].DclkFrequency, &dividers); in fiji_populate_smc_uvd_level()
1592 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in fiji_populate_smc_uvd_level()
1593 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); 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()
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()
1569 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); in polaris10_populate_smc_uvd_level()
1570 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency); 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()
1351 table->UvdLevel[count].DclkFrequency, &dividers); in tonga_populate_smc_uvd_level()
1356 table->UvdLevel[count].DclkDivider = in tonga_populate_smc_uvd_level()
1359 CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency); 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 …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dsmu7_fusion.h235 SMU7_Fusion_UvdLevel UvdLevel [SMU7_MAX_LEVELS_UVD]; member
H A Dci_dpm.c2620 table->UvdLevel[count].VclkFrequency = in ci_populate_smc_uvd_level()
2622 table->UvdLevel[count].DclkFrequency = in ci_populate_smc_uvd_level()
2624 table->UvdLevel[count].MinVddc = in ci_populate_smc_uvd_level()
2626 table->UvdLevel[count].MinVddcPhases = 1; in ci_populate_smc_uvd_level()
2630 table->UvdLevel[count].VclkFrequency, false, &dividers); in ci_populate_smc_uvd_level()
2634 table->UvdLevel[count].VclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level()
2638 table->UvdLevel[count].DclkFrequency, false, &dividers); in ci_populate_smc_uvd_level()
2642 table->UvdLevel[count].DclkDivider = (u8)dividers.post_divider; in ci_populate_smc_uvd_level()
2644 table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency); in ci_populate_smc_uvd_level()
2645 table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency); in ci_populate_smc_uvd_level()
[all …]
H A Dsmu7_discrete.h327 SMU7_Discrete_UvdLevel UvdLevel [SMU7_MAX_LEVELS_UVD]; member
H A Dkv_dpm.c722 offsetof(SMU7_Fusion_DpmTable, UvdLevel), in kv_populate_uvd_table()
/openbmc/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 Dsmu73_discrete.h244 SMU73_Discrete_UvdLevel UvdLevel[SMU73_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 Dsmu75_discrete.h292 SMU75_Discrete_UvdLevel UvdLevel [SMU75_MAX_LEVELS_UVD]; member
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c953 offsetof(SMU7_Fusion_DpmTable, UvdLevel), in kv_populate_uvd_table()