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

Alex Deucher alexdeucher at gmail.com
Fri Oct 22 03:19:23 UTC 2021


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