Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c859 int workload_type, ret; in renoir_set_power_profile_mode() local
872 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_set_power_profile_mode()
875 if (workload_type < 0) { in renoir_set_power_profile_mode()
885 1 << workload_type, in renoir_set_power_profile_mode()
888 dev_err_once(smu->adev->dev, "Fail to set workload type %d\n", workload_type); in renoir_set_power_profile_mode()
1099 int16_t workload_type = 0; in renoir_get_power_profile_mode() local
1109 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_get_power_profile_mode()
1112 if (workload_type < 0) in renoir_get_power_profile_mode()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c1420 int16_t workload_type = 0; in smu_v13_0_7_get_power_profile_mode() local
1435 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_get_power_profile_mode()
1438 if (workload_type < 0) in smu_v13_0_7_get_power_profile_mode()
1442 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in smu_v13_0_7_get_power_profile_mode()
1483 int workload_type, ret = 0; in smu_v13_0_7_set_power_profile_mode() local
1533 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_set_power_profile_mode()
1536 if (workload_type < 0) in smu_v13_0_7_set_power_profile_mode()
1539 1 << workload_type, NULL); in smu_v13_0_7_set_power_profile_mode()
Dsmu_v13_0_0_ppt.c1443 int16_t workload_type = 0; in smu_v13_0_0_get_power_profile_mode() local
1456 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_get_power_profile_mode()
1459 if (workload_type < 0) in smu_v13_0_0_get_power_profile_mode()
1464 workload_type, in smu_v13_0_0_get_power_profile_mode()
1512 int workload_type, ret = 0; in smu_v13_0_0_set_power_profile_mode() local
1567 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_set_power_profile_mode()
1570 if (workload_type < 0) in smu_v13_0_0_set_power_profile_mode()
1575 1 << workload_type, in smu_v13_0_0_set_power_profile_mode()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c1027 int16_t workload_type = 0; in vangogh_get_power_profile_mode() local
1037 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_get_power_profile_mode()
1041 if (workload_type < 0) in vangogh_get_power_profile_mode()
1053 int workload_type, ret; in vangogh_set_power_profile_mode() local
1066 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_set_power_profile_mode()
1069 if (workload_type < 0) { in vangogh_set_power_profile_mode()
1076 1 << workload_type, in vangogh_set_power_profile_mode()
1080 workload_type); in vangogh_set_power_profile_mode()
Darcturus_ppt.c1385 int16_t workload_type = 0; in arcturus_get_power_profile_mode() local
1409 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_get_power_profile_mode()
1412 if (workload_type < 0) in arcturus_get_power_profile_mode()
1418 workload_type, in arcturus_get_power_profile_mode()
1469 int workload_type = 0; in arcturus_set_power_profile_mode() local
1535 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_set_power_profile_mode()
1538 if (workload_type < 0) { in arcturus_set_power_profile_mode()
1545 1 << workload_type, in arcturus_set_power_profile_mode()
1548 dev_err(smu->adev->dev, "Fail to set workload type %d\n", workload_type); in arcturus_set_power_profile_mode()
Dnavi10_ppt.c1905 int16_t workload_type = 0; in navi10_get_power_profile_mode() local
1929 workload_type = smu_cmn_to_asic_specific_index(smu, in navi10_get_power_profile_mode()
1932 if (workload_type < 0) in navi10_get_power_profile_mode()
1936 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in navi10_get_power_profile_mode()
1995 int workload_type, ret = 0; in navi10_set_power_profile_mode() local
2060 workload_type = smu_cmn_to_asic_specific_index(smu, in navi10_set_power_profile_mode()
2063 if (workload_type < 0) in navi10_set_power_profile_mode()
2066 1 << workload_type, NULL); in navi10_set_power_profile_mode()
Dsienna_cichlid_ppt.c1579 int16_t workload_type = 0; in sienna_cichlid_get_power_profile_mode() local
1603 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_get_power_profile_mode()
1606 if (workload_type < 0) in sienna_cichlid_get_power_profile_mode()
1610 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in sienna_cichlid_get_power_profile_mode()
1672 int workload_type, ret = 0; in sienna_cichlid_set_power_profile_mode() local
1737 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_set_power_profile_mode()
1740 if (workload_type < 0) in sienna_cichlid_set_power_profile_mode()
1743 1 << workload_type, NULL); in sienna_cichlid_set_power_profile_mode()
/linux-5.19.10/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_mbox.c196 static DEVICE_ATTR_RW(workload_type);
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu10_hwmgr.c1478 int workload_type = 0; in smu10_set_power_profile_mode() local
1489 workload_type = in smu10_set_power_profile_mode()
1491 if (workload_type && in smu10_set_power_profile_mode()
1498 1 << workload_type, in smu10_set_power_profile_mode()
1502 if (workload_type && hwmgr->gfxoff_state_changed_by_workload) { in smu10_set_power_profile_mode()
Dvega20_hwmgr.c3982 uint16_t workload_type = 0; in vega20_get_power_profile_mode() local
4008 workload_type = conv_power_profile_to_pplib_workload(i); in vega20_get_power_profile_mode()
4010 (uint8_t *)(&activity_monitor), workload_type); in vega20_get_power_profile_mode()
4081 int workload_type, result = 0; in vega20_set_power_profile_mode() local
4169 workload_type = in vega20_set_power_profile_mode()
4172 1 << workload_type, in vega20_set_power_profile_mode()
/linux-5.19.10/Documentation/driver-api/thermal/
Dintel_dptf.rst174 it is currently executing via workload_type. For example: idle, bursty,
177 ``workload_type`` (RW)