[PATCH] drm/amdgpu/smu11.0: add missing IP version check

Chen, Guchun Guchun.Chen at amd.com
Fri Oct 22 03:45:10 UTC 2021


[Public]

Reviewed-by: Guchun Chen <guchun.chen at amd.com>

Regards,
Guchun

-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Friday, October 22, 2021 11:19 AM
To: Deucher, Alexander <Alexander.Deucher at amd.com>
Cc: amd-gfx list <amd-gfx at lists.freedesktop.org>
Subject: Re: [PATCH] drm/amdgpu/smu11.0: add missing IP version check

Ping?

On Tue, Oct 19, 2021 at 11:31 AM Alex Deucher <alexander.deucher at amd.com> wrote:
>
> Add missing check in smu_v11_0_init_display_count(),
>
> 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 | 1 +
>  1 file changed, 1 insertion(+)
>
> 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 5c1703cc25fd..28b7c0562b99 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
> @@ -755,6 +755,7 @@ int smu_v11_0_init_display_count(struct smu_context *smu, uint32_t count)
>          */
>         if (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 11) ||
>             adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 5, 0) ||
> +           adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 12) ||
>             adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 13))
>                 return 0;
>
> --
> 2.31.1
>


More information about the amd-gfx mailing list