[PATCH] drm/amd/powerplay: Partially revert change initialize platform caps

Huang Rui ray.huang at amd.com
Wed Sep 14 08:51:45 UTC 2016


On Wed, Sep 14, 2016 at 04:38:37PM +0800, Rex Zhu wrote:
> partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1
> this will lead APU can't work.
> 
> Change-Id: I2233e2f21058540ff782e27e07fa0d0937692ace
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> index 1b3151c..524d0dd 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> @@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
>  		PHM_PlatformCaps_DynamicPatchPowerState);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -			 PHM_PlatformCaps_TablelessHardwareInterface);
> -
> -	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  		PHM_PlatformCaps_EnableSMU7ThermalManagement);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  			PHM_PlatformCaps_DynamicPowerManagement);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -			PHM_PlatformCaps_UnTabledHardwareInterface);
> -
> -	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  					PHM_PlatformCaps_SMC);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -- 
> 1.9.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list