Home
last modified time | relevance | path

Searched refs:SMU8_MAX_HARDWARE_POWERLEVELS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu8_hwmgr.h33 #define SMU8_MAX_HARDWARE_POWERLEVELS 8 macro
159 struct smu8_power_level levels[SMU8_MAX_HARDWARE_POWERLEVELS];
H A Dsmu8_hwmgr.c465 PP_ASSERT_WITH_CODE((vddc_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
467 PP_ASSERT_WITH_CODE((vdd_gfx_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
469 PP_ASSERT_WITH_CODE((acp_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
471 PP_ASSERT_WITH_CODE((uvd_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
473 PP_ASSERT_WITH_CODE((vce_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS), in smu8_upload_pptable_to_smu()
476 for (i = 0; i < SMU8_MAX_HARDWARE_POWERLEVELS; i++) { in smu8_upload_pptable_to_smu()
1145 hwmgr->platform_descriptor.hardwareActivityPerformanceLevels = SMU8_MAX_HARDWARE_POWERLEVELS; in smu8_hwmgr_backend_init()
1777 if (uvd_index >= SMU8_MAX_HARDWARE_POWERLEVELS) { in smu8_read_sensor()
1789 if (uvd_index >= SMU8_MAX_HARDWARE_POWERLEVELS) { in smu8_read_sensor()
1801 if (vce_index >= SMU8_MAX_HARDWARE_POWERLEVELS) { in smu8_read_sensor()