[PATCH] drm/amd/powerplay: fix typo on avfs disable

Alex Deucher alexdeucher at gmail.com
Sat Sep 30 01:21:05 UTC 2017


On Fri, Sep 29, 2017 at 9:15 PM, Evan Quan <evan.quan at amd.com> wrote:
> Change-Id: I172c1e05ce026b5d600f5b3607778ab48ee2c812
> Signed-off-by: Evan Quan <evan.quan at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> index 6a85954..48de45e 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
> @@ -2364,7 +2364,7 @@ static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable)
>                 } else {
>                         PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr,
>                                         false,
> -                                       data->smu_features[GNLD_AVFS].smu_feature_id),
> +                                       data->smu_features[GNLD_AVFS].smu_feature_bitmap),
>                                         "[avfs_control] Attempt to Disable AVFS feature Failed!",
>                                         return -1);
>                         data->smu_features[GNLD_AVFS].enabled = false;
> --
> 2.7.4
>
> _______________________________________________
> 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