[PATCH 1/3] drm/amdgpu/smu11: fix firmware version check for vangogh

Quan, Evan Evan.Quan at amd.com
Wed Oct 13 07:11:58 UTC 2021


[AMD Official Use Only]

Reviewed-by: Evan Quan <evan.quan at amd.com>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: Tuesday, October 12, 2021 11:53 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH 1/3] drm/amdgpu/smu11: fix firmware version check for
> vangogh
> 
> Was missed in the conversion to IP version checking.
> 
> Fixes: af3b89d3a639d5 ("drm/amdgpu/smu11.0: convert to IP version
> checking")
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
> b/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
> index 3470c33ee09d..6d008e9c2f65 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
> @@ -255,7 +255,7 @@ int smu_v11_0_check_fw_version(struct
> smu_context *smu)
>  	case IP_VERSION(11, 0, 11):
>  		smu->smc_driver_if_version =
> SMU11_DRIVER_IF_VERSION_Navy_Flounder;
>  		break;
> -	case CHIP_VANGOGH:
> +	case IP_VERSION(11, 5, 0):
>  		smu->smc_driver_if_version =
> SMU11_DRIVER_IF_VERSION_VANGOGH;
>  		break;
>  	case IP_VERSION(11, 0, 12):
> --
> 2.31.1


More information about the amd-gfx mailing list