[PATCH 2/2] drm/amdgpu: Enable TMZ support for GC 11.0.0

Alex Deucher alexdeucher at gmail.com
Thu Apr 3 16:11:19 UTC 2025


On Thu, Apr 3, 2025 at 5:44 AM Jesse.zhang at amd.com <jesse.zhang at amd.com> wrote:
>
> Add IP_VERSION(11, 0, 0) to the list of GPU generations that support TMZ.

Are you sure about that?  TMZ will only work with user queues on gfx11 dGPUs.

Alex

>
> Signed-off-by: Jesse Zhang <Jesse.Zhang at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index 464625282872..1eb9242436ee 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -843,6 +843,7 @@ 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):
> +       case IP_VERSION(11, 0, 0):
>         /* GC 11.0.1 */
>         case IP_VERSION(11, 0, 1):
>                 if (amdgpu_tmz == 0) {
> --
> 2.25.1
>


More information about the amd-gfx mailing list