|
@@ -1361,8 +1361,7 @@ int cz_dpm_update_vce_dpm(struct pp_hwmgr *hwmgr)
|
|
|
|
|
|
int cz_dpm_powerdown_vce(struct pp_hwmgr *hwmgr)
|
|
|
{
|
|
|
- if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
|
|
|
- PHM_PlatformCaps_VCEPowerGating))
|
|
|
+ if (PP_CAP(PHM_PlatformCaps_VCEPowerGating))
|
|
|
return smum_send_msg_to_smc(hwmgr,
|
|
|
PPSMC_MSG_VCEPowerOFF);
|
|
|
return 0;
|