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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>

On Thu, May 25, 2023 at 3:22 AM Ikshwaku Chauhan
<ikshwaku.chauhan@xxxxxxx> 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@xxxxxxx>
>
> 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
>




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux