[PATCH] drm/amdgpu: enable tmz by default for GC 11.0.1

Alex Deucher alexdeucher at gmail.com
Thu May 25 13:00:07 UTC 2023


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

On Thu, May 25, 2023 at 3:22 AM Ikshwaku Chauhan
<ikshwaku.chauhan at amd.com> wrote:
>
> Add IP GC 11.0.1 in the list of target to have
> tmz enabled by default.
>
> Signed-off-by: Ikshwaku Chauhan <ikshwaku.chauhan at amd.com>
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index 3f5dd9e32e08..348d856626c6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -591,6 +591,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
>         case IP_VERSION(9, 3, 0):
>         /* GC 10.3.7 */
>         case IP_VERSION(10, 3, 7):
> +       /* GC 11.0.1 */
> +       case IP_VERSION(11, 0, 1):
>                 if (amdgpu_tmz == 0) {
>                         adev->gmc.tmz_enabled = false;
>                         dev_info(adev->dev,
> @@ -614,7 +616,6 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
>         case IP_VERSION(10, 3, 1):
>         /* YELLOW_CARP*/
>         case IP_VERSION(10, 3, 3):
> -       case IP_VERSION(11, 0, 1):
>         case IP_VERSION(11, 0, 4):
>                 /* Don't enable it by default yet.
>                  */
> --
> 2.25.1
>


More information about the amd-gfx mailing list