[PATCH 2/2] drm/amdgpu: Demote TMZ unsupported log message from warning to info

Alex Deucher alexdeucher at gmail.com
Mon Sep 13 16:53:53 UTC 2021


Applied.  Thanks.

Alex

On Mon, Sep 13, 2021 at 4:46 AM Paul Menzel <pmenzel at molgen.mpg.de> wrote:
>
> As the user cannot do anything about the unsupported Trusted Memory Zone
> (TMZ) feature, do not warn about it, but make it informational, so
> demote the log level from warning to info.
>
> Signed-off-by: Paul Menzel <pmenzel at molgen.mpg.de>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index c4c56c57b0c0..bfa0275ff5d4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -598,7 +598,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
>                 break;
>         default:
>                 adev->gmc.tmz_enabled = false;
> -               dev_warn(adev->dev,
> +               dev_info(adev->dev,
>                          "Trusted Memory Zone (TMZ) feature not supported by hardware\n");
>                 break;
>         }
> --
> 2.33.0
>


More information about the amd-gfx mailing list