Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1882 static int smu8_dpm_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_update_uvd_dpm() argument
1888 if (!bgate) { in smu8_dpm_update_uvd_dpm()
1940 static void smu8_dpm_powergate_acp(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_acp() argument
1944 if (data->acp_power_gated == bgate) in smu8_dpm_powergate_acp()
1947 if (bgate) in smu8_dpm_powergate_acp()
1955 static void smu8_dpm_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_uvd() argument
1960 data->uvd_power_gated = bgate; in smu8_dpm_powergate_uvd()
1962 if (bgate) { in smu8_dpm_powergate_uvd()
1986 bgate, in smu8_dpm_powergate_uvd()
1990 static void smu8_dpm_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) in smu8_dpm_powergate_vce() argument
[all …]
Dvega12_hwmgr.c2569 static void vega12_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega12_power_gate_vce() argument
2573 if (data->vce_power_gated == bgate) in vega12_power_gate_vce()
2576 data->vce_power_gated = bgate; in vega12_power_gate_vce()
2577 vega12_enable_disable_vce_dpm(hwmgr, !bgate); in vega12_power_gate_vce()
2580 static void vega12_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega12_power_gate_uvd() argument
2584 if (data->uvd_power_gated == bgate) in vega12_power_gate_uvd()
2587 data->uvd_power_gated = bgate; in vega12_power_gate_uvd()
2588 vega12_enable_disable_uvd_dpm(hwmgr, !bgate); in vega12_power_gate_uvd()
Dvega20_hwmgr.c3694 static void vega20_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega20_power_gate_vce() argument
3698 if (data->vce_power_gated == bgate) in vega20_power_gate_vce()
3701 data->vce_power_gated = bgate; in vega20_power_gate_vce()
3702 if (bgate) { in vega20_power_gate_vce()
3703 vega20_enable_disable_vce_dpm(hwmgr, !bgate); in vega20_power_gate_vce()
3711 vega20_enable_disable_vce_dpm(hwmgr, !bgate); in vega20_power_gate_vce()
3716 static void vega20_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega20_power_gate_uvd() argument
3720 if (data->uvd_power_gated == bgate) in vega20_power_gate_uvd()
3723 data->uvd_power_gated = bgate; in vega20_power_gate_uvd()
3724 vega20_enable_disable_uvd_dpm(hwmgr, !bgate); in vega20_power_gate_uvd()
Dsmu10_hwmgr.c1385 static void smu10_powergate_vcn(struct pp_hwmgr *hwmgr, bool bgate) in smu10_powergate_vcn() argument
1389 if (bgate) { in smu10_powergate_vcn()
Dvega10_hwmgr.c4943 static void vega10_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_vce() argument
4947 data->vce_power_gated = bgate; in vega10_power_gate_vce()
4948 vega10_enable_disable_vce_dpm(hwmgr, !bgate); in vega10_power_gate_vce()
4951 static void vega10_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_uvd() argument
4955 data->uvd_power_gated = bgate; in vega10_power_gate_uvd()
4956 vega10_enable_disable_uvd_dpm(hwmgr, !bgate); in vega10_power_gate_uvd()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h262 void (*powergate_vce)(struct pp_hwmgr *hwmgr, bool bgate);
263 void (*powergate_uvd)(struct pp_hwmgr *hwmgr, bool bgate);
264 void (*powergate_acp)(struct pp_hwmgr *hwmgr, bool bgate);
349 int (*powergate_sdma)(struct pp_hwmgr *hwmgr, bool bgate);