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

Alex Deucher alexdeucher at gmail.com
Wed Sep 14 14:24:50 UTC 2016


On Wed, Sep 14, 2016 at 4:38 AM, Rex Zhu <Rex.Zhu at amd.com> 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: Alex Deucher <alexander.deucher 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