Home
last modified time | relevance | path

Searched refs:bgate (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_clockpowergating.c44 static int smu7_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu7_update_uvd_dpm() argument
46 if (!bgate) in smu7_update_uvd_dpm()
48 return smu7_enable_disable_uvd_dpm(hwmgr, !bgate); in smu7_update_uvd_dpm()
51 static int smu7_update_vce_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu7_update_vce_dpm() argument
53 if (!bgate) in smu7_update_vce_dpm()
55 return smu7_enable_disable_vce_dpm(hwmgr, !bgate); in smu7_update_vce_dpm()
114 void smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in smu7_powergate_uvd() argument
118 data->uvd_power_gated = bgate; in smu7_powergate_uvd()
120 if (bgate) { in smu7_powergate_uvd()
142 void smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) in smu7_powergate_vce() argument
[all …]
Dsmu7_clockpowergating.h29 void smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate);
30 void smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate);
32 int smu7_powergate_acp(struct pp_hwmgr *hwmgr, bool bgate);
Dvega10_hwmgr.h441 int vega10_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate);
442 int vega10_update_samu_dpm(struct pp_hwmgr *hwmgr, bool bgate);
443 int vega10_update_acp_dpm(struct pp_hwmgr *hwmgr, bool bgate);
Dsmu8_hwmgr.c1894 static int smu8_dpm_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_update_uvd_dpm() argument
1900 if (!bgate) { in smu8_dpm_update_uvd_dpm()
1952 static void smu8_dpm_powergate_acp(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_acp() argument
1956 if (data->acp_power_gated == bgate) in smu8_dpm_powergate_acp()
1959 if (bgate) in smu8_dpm_powergate_acp()
1967 static void smu8_dpm_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_uvd() argument
1972 data->uvd_power_gated = bgate; in smu8_dpm_powergate_uvd()
1974 if (bgate) { in smu8_dpm_powergate_uvd()
1998 bgate, in smu8_dpm_powergate_uvd()
2002 static void smu8_dpm_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_vce() argument
[all …]
Dvega12_hwmgr.c2590 static void vega12_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega12_power_gate_vce() argument
2594 if (data->vce_power_gated == bgate) in vega12_power_gate_vce()
2597 data->vce_power_gated = bgate; in vega12_power_gate_vce()
2598 vega12_enable_disable_vce_dpm(hwmgr, !bgate); in vega12_power_gate_vce()
2601 static void vega12_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega12_power_gate_uvd() argument
2605 if (data->uvd_power_gated == bgate) in vega12_power_gate_uvd()
2608 data->uvd_power_gated = bgate; in vega12_power_gate_uvd()
2609 vega12_enable_disable_uvd_dpm(hwmgr, !bgate); in vega12_power_gate_uvd()
Dvega20_hwmgr.c3695 static void vega20_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega20_power_gate_vce() argument
3699 if (data->vce_power_gated == bgate) in vega20_power_gate_vce()
3702 data->vce_power_gated = bgate; in vega20_power_gate_vce()
3703 if (bgate) { in vega20_power_gate_vce()
3704 vega20_enable_disable_vce_dpm(hwmgr, !bgate); in vega20_power_gate_vce()
3712 vega20_enable_disable_vce_dpm(hwmgr, !bgate); in vega20_power_gate_vce()
3717 static void vega20_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega20_power_gate_uvd() argument
3721 if (data->uvd_power_gated == bgate) in vega20_power_gate_uvd()
3724 data->uvd_power_gated = bgate; in vega20_power_gate_uvd()
3725 vega20_enable_disable_uvd_dpm(hwmgr, !bgate); in vega20_power_gate_uvd()
Dsmu10_hwmgr.c1395 static void smu10_powergate_vcn(struct pp_hwmgr *hwmgr, bool bgate) in smu10_powergate_vcn() argument
1399 if (bgate) { in smu10_powergate_vcn()
Dvega10_hwmgr.c4960 static void vega10_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_vce() argument
4964 data->vce_power_gated = bgate; in vega10_power_gate_vce()
4965 vega10_enable_disable_vce_dpm(hwmgr, !bgate); in vega10_power_gate_vce()
4968 static void vega10_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_uvd() argument
4972 data->uvd_power_gated = bgate; in vega10_power_gate_uvd()
4973 vega10_enable_disable_uvd_dpm(hwmgr, !bgate); in vega10_power_gate_uvd()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h261 void (*powergate_vce)(struct pp_hwmgr *hwmgr, bool bgate);
262 void (*powergate_uvd)(struct pp_hwmgr *hwmgr, bool bgate);
263 void (*powergate_acp)(struct pp_hwmgr *hwmgr, bool bgate);
348 int (*powergate_sdma)(struct pp_hwmgr *hwmgr, bool bgate);