> -----Original Message-----
> From: amd-gfx [mailto:[email protected]] On Behalf
> Of Tom St Denis
> Sent: Monday, October 16, 2017 1:55 PM
> To: [email protected]
> Cc: StDenis, Tom
> Subject: [PATCH 6/7] drm/amd/powerplay: Tidy up
> cz_dpm_powerdown_vce()
> 
> Signed-off-by: Tom St Denis <[email protected]>
> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
> index 36d975dde65f..23df056a034b 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
> @@ -1362,10 +1362,9 @@ 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);
> +                             PPSMC_MSG_VCEPowerOFF);

The indentation looked correct before.

Alex

>       return 0;
>  }
> 
> --
> 2.12.0
> 
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to