[PATCH] drm/amd/powerplay: fix unfreeze level smc message for smu7

Deucher, Alexander Alexander.Deucher at amd.com
Thu Nov 16 16:39:59 UTC 2017


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Eric Huang
> Sent: Thursday, November 16, 2017 11:22 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Huang, JinHuiEric
> Subject: [PATCH] drm/amd/powerplay: fix unfreeze level smc message for
> smu7
> 
> Signed-off-by: Eric Huang <JinHuiEric.Huang at amd.com>
> Change-Id: I215e49b3cae43c8ba6df0bd40db8b2b07ffc4fed

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

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> index ed17af4..8edb0c4 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> @@ -3778,7 +3778,7 @@ static int smu7_unfreeze_sclk_mclk_dpm(struct
> pp_hwmgr *hwmgr)
>  				"Trying to Unfreeze MCLK DPM when DPM is
> disabled",
>  				);
>  		PP_ASSERT_WITH_CODE(0 ==
> smum_send_msg_to_smc(hwmgr,
> -				PPSMC_MSG_SCLKDPM_UnfreezeLevel),
> +				PPSMC_MSG_MCLKDPM_UnfreezeLevel),
>  		    "Failed to unfreeze MCLK DPM during
> UnFreezeSclkMclkDPM Function!",
>  		    return -EINVAL);
>  	}
> --
> 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