Home
last modified time | relevance | path

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

/Linux-v6.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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c868 int workload_type, ret; in renoir_set_power_profile_mode() local
881 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_set_power_profile_mode()
884 if (workload_type < 0) { in renoir_set_power_profile_mode()
894 1 << workload_type, in renoir_set_power_profile_mode()
897 dev_err_once(smu->adev->dev, "Fail to set workload type %d\n", workload_type); in renoir_set_power_profile_mode()
1108 int16_t workload_type = 0; in renoir_get_power_profile_mode() local
1118 workload_type = smu_cmn_to_asic_specific_index(smu, in renoir_get_power_profile_mode()
1121 if (workload_type < 0) in renoir_get_power_profile_mode()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c1441 int16_t workload_type = 0; in smu_v13_0_7_get_power_profile_mode() local
1456 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_get_power_profile_mode()
1459 if (workload_type < 0) in smu_v13_0_7_get_power_profile_mode()
1463 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in smu_v13_0_7_get_power_profile_mode()
1504 int workload_type, ret = 0; in smu_v13_0_7_set_power_profile_mode() local
1554 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_set_power_profile_mode()
1557 if (workload_type < 0) in smu_v13_0_7_set_power_profile_mode()
1560 1 << workload_type, NULL); in smu_v13_0_7_set_power_profile_mode()
Dsmu_v13_0_0_ppt.c1434 int16_t workload_type = 0; in smu_v13_0_0_get_power_profile_mode() local
1447 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_get_power_profile_mode()
1450 if (workload_type < 0) in smu_v13_0_0_get_power_profile_mode()
1455 workload_type, in smu_v13_0_0_get_power_profile_mode()
1503 int workload_type, ret = 0; in smu_v13_0_0_set_power_profile_mode() local
1558 workload_type = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_set_power_profile_mode()
1561 if (workload_type < 0) in smu_v13_0_0_set_power_profile_mode()
1566 1 << workload_type, in smu_v13_0_0_set_power_profile_mode()
/Linux-v6.1/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_mbox.c196 static DEVICE_ATTR_RW(workload_type);
/Linux-v6.1/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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c1044 int16_t workload_type = 0; in vangogh_get_power_profile_mode() local
1054 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_get_power_profile_mode()
1058 if (workload_type < 0) in vangogh_get_power_profile_mode()
1070 int workload_type, ret; in vangogh_set_power_profile_mode() local
1083 workload_type = smu_cmn_to_asic_specific_index(smu, in vangogh_set_power_profile_mode()
1086 if (workload_type < 0) { in vangogh_set_power_profile_mode()
1093 1 << workload_type, in vangogh_set_power_profile_mode()
1097 workload_type); in vangogh_set_power_profile_mode()
Darcturus_ppt.c1386 int16_t workload_type = 0; in arcturus_get_power_profile_mode() local
1410 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_get_power_profile_mode()
1413 if (workload_type < 0) in arcturus_get_power_profile_mode()
1419 workload_type, in arcturus_get_power_profile_mode()
1470 int workload_type = 0; in arcturus_set_power_profile_mode() local
1536 workload_type = smu_cmn_to_asic_specific_index(smu, in arcturus_set_power_profile_mode()
1539 if (workload_type < 0) { in arcturus_set_power_profile_mode()
1546 1 << workload_type, in arcturus_set_power_profile_mode()
1549 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.c1599 int16_t workload_type = 0; in sienna_cichlid_get_power_profile_mode() local
1623 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_get_power_profile_mode()
1626 if (workload_type < 0) in sienna_cichlid_get_power_profile_mode()
1630 SMU_TABLE_ACTIVITY_MONITOR_COEFF, workload_type, in sienna_cichlid_get_power_profile_mode()
1692 int workload_type, ret = 0; in sienna_cichlid_set_power_profile_mode() local
1757 workload_type = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_set_power_profile_mode()
1760 if (workload_type < 0) in sienna_cichlid_set_power_profile_mode()
1763 1 << workload_type, NULL); in sienna_cichlid_set_power_profile_mode()
/Linux-v6.1/Documentation/driver-api/thermal/
Dintel_dptf.rst174 it is currently executing via workload_type. For example: idle, bursty,
177 ``workload_type`` (RW)