Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/ !
Dvega20_smumgr.h55 uint8_t *table, uint16_t workload_type);
57 uint8_t *table, uint16_t workload_type);
Dvega20_smumgr.c249 uint8_t *table, uint16_t workload_type) in vega20_set_activity_monitor_coeff() argument
275 TABLE_ACTIVITY_MONITOR_COEFF | (workload_type << 16), in vega20_set_activity_monitor_coeff()
284 uint8_t *table, uint16_t workload_type) in vega20_get_activity_monitor_coeff() argument
305 TABLE_ACTIVITY_MONITOR_COEFF | (workload_type << 16), NULL)) == 0, in vega20_get_activity_monitor_coeff()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/ !
Drenoir_ppt.c867 int workload_type, ret; in renoir_set_power_profile_mode() local
880 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_set_power_profile_mode()
883 if (workload_type < 0) { in renoir_set_power_profile_mode()
893 1 << workload_type, in renoir_set_power_profile_mode()
896 dev_err_once(smu->adev->dev, "Fail to set workload type %d\n", workload_type); in renoir_set_power_profile_mode()
1146 int16_t workload_type = 0; in renoir_get_power_profile_mode() local
1156 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_get_power_profile_mode()
1159 if (workload_type < 0) in renoir_get_power_profile_mode()
/linux-6.12.1/drivers/thermal/intel/int340x_thermal/ !
Dprocessor_thermal_wt_req.c91 static DEVICE_ATTR_RW(workload_type);
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ !
Dsmu_v13_0_0_ppt.c2416 int16_t workload_type = 0; in smu_v13_0_0_get_power_profile_mode() local
2429 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_get_power_profile_mode()
2432 if (workload_type == -ENOTSUPP) in smu_v13_0_0_get_power_profile_mode()
2434 else if (workload_type < 0) in smu_v13_0_0_get_power_profile_mode()
2439 workload_type, in smu_v13_0_0_get_power_profile_mode()
2487 int workload_type, ret = 0; in smu_v13_0_0_set_power_profile_mode() local
2548 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_set_power_profile_mode()
2552 if (workload_type < 0) in smu_v13_0_0_set_power_profile_mode()
2555 selected_workload_mask = workload_mask = 1 << workload_type; in smu_v13_0_0_set_power_profile_mode()
2563 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_set_power_profile_mode()
[all …]
Dsmu_v13_0_7_ppt.c2367 int16_t workload_type = 0; in smu_v13_0_7_get_power_profile_mode() local
2388 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_get_power_profile_mode()
2391 if (workload_type == -ENOTSUPP) in smu_v13_0_7_get_power_profile_mode()
2393 else if (workload_type < 0) { in smu_v13_0_7_get_power_profile_mode()
2399 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in smu_v13_0_7_get_power_profile_mode()
2443 int workload_type, ret = 0; in smu_v13_0_7_set_power_profile_mode() local
2497 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_set_power_profile_mode()
2500 if (workload_type < 0) in smu_v13_0_7_set_power_profile_mode()
2503 1 << workload_type, NULL); in smu_v13_0_7_set_power_profile_mode()
2508 smu->workload_mask = (1 << workload_type); in smu_v13_0_7_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/ !
Dsmu_v14_0_2_ppt.c1668 int16_t workload_type = 0; in smu_v14_0_2_get_power_profile_mode() local
1681 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v14_0_2_get_power_profile_mode()
1684 if (workload_type == -ENOTSUPP) in smu_v14_0_2_get_power_profile_mode()
1686 else if (workload_type < 0) in smu_v14_0_2_get_power_profile_mode()
1691 workload_type, in smu_v14_0_2_get_power_profile_mode()
1739 int workload_type, ret = 0; in smu_v14_0_2_set_power_profile_mode() local
1804 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v14_0_2_set_power_profile_mode()
1807 if (workload_type < 0) in smu_v14_0_2_set_power_profile_mode()
1812 1 << workload_type, in smu_v14_0_2_set_power_profile_mode()
1815 smu->workload_mask = 1 << workload_type; in smu_v14_0_2_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ !
Dsmu10_hwmgr.c1496 int workload_type = 0; in smu10_set_power_profile_mode() local
1507 workload_type = in smu10_set_power_profile_mode()
1509 if (workload_type && in smu10_set_power_profile_mode()
1516 1 << workload_type, in smu10_set_power_profile_mode()
1520 if (workload_type && hwmgr->gfxoff_state_changed_by_workload) { in smu10_set_power_profile_mode()
Dvega20_hwmgr.c3995 uint16_t workload_type = 0; in vega20_get_power_profile_mode() local
4021 workload_type = conv_power_profile_to_pplib_workload(i); in vega20_get_power_profile_mode()
4023 (uint8_t *)(&activity_monitor), workload_type); in vega20_get_power_profile_mode()
4094 int workload_type, result = 0; in vega20_set_power_profile_mode() local
4186 workload_type = in vega20_set_power_profile_mode()
4189 1 << workload_type, in vega20_set_power_profile_mode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ !
Darcturus_ppt.c1370 int16_t workload_type = 0; in arcturus_get_power_profile_mode() local
1389 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_get_power_profile_mode()
1392 if (workload_type < 0) in arcturus_get_power_profile_mode()
1398 workload_type, in arcturus_get_power_profile_mode()
1449 int workload_type = 0; in arcturus_set_power_profile_mode() local
1516 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_set_power_profile_mode()
1519 if (workload_type < 0) { in arcturus_set_power_profile_mode()
1526 1 << workload_type, in arcturus_set_power_profile_mode()
1529 dev_err(smu->adev->dev, "Fail to set workload type %d\n", workload_type); in arcturus_set_power_profile_mode()
Dvangogh_ppt.c1033 int16_t workload_type = 0; in vangogh_get_power_profile_mode() local
1043 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_get_power_profile_mode()
1047 if (workload_type < 0) in vangogh_get_power_profile_mode()
1059 int workload_type, ret; in vangogh_set_power_profile_mode() local
1072 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_set_power_profile_mode()
1075 if (workload_type < 0) { in vangogh_set_power_profile_mode()
1082 1 << workload_type, in vangogh_set_power_profile_mode()
1086 workload_type); in vangogh_set_power_profile_mode()
Dnavi10_ppt.c1920 int16_t workload_type = 0; in navi10_get_power_profile_mode() local
1944 workload_type = smu_cmn_to_asic_specific_index(smu, in navi10_get_power_profile_mode()
1947 if (workload_type < 0) in navi10_get_power_profile_mode()
1951 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in navi10_get_power_profile_mode()
2010 int workload_type, ret = 0; in navi10_set_power_profile_mode() local
2079 workload_type = smu_cmn_to_asic_specific_index(smu, in navi10_set_power_profile_mode()
2082 if (workload_type < 0) in navi10_set_power_profile_mode()
2085 1 << workload_type, NULL); in navi10_set_power_profile_mode()
Dsienna_cichlid_ppt.c1622 int16_t workload_type = 0; in sienna_cichlid_get_power_profile_mode() local
1646 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_get_power_profile_mode()
1649 if (workload_type < 0) in sienna_cichlid_get_power_profile_mode()
1653 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in sienna_cichlid_get_power_profile_mode()
1715 int workload_type, ret = 0; in sienna_cichlid_set_power_profile_mode() local
1784 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_set_power_profile_mode()
1787 if (workload_type < 0) in sienna_cichlid_set_power_profile_mode()
1790 1 << workload_type, NULL); in sienna_cichlid_set_power_profile_mode()
/linux-6.12.1/Documentation/driver-api/thermal/ !
Dintel_dptf.rst187 it is currently executing via workload_type. For example: idle, bursty,
190 ``workload_type`` (RW)
/linux-6.12.1/drivers/platform/x86/amd/pmf/ !
Dpmf.h677 u32 workload_type; member