[AMD Official Use Only]

":" is expected behind "case CHIP_IP_DISCOVERY"

--
Best Regards
Aaron Liu

> -----Original Message-----
> From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> On Behalf Of Prike
> Liang
> Sent: Friday, February 18, 2022 9:37 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander <alexander.deuc...@amd.com>; Liang, Prike
> <prike.li...@amd.com>; Huang, Ray <ray.hu...@amd.com>
> Subject: [PATCH] drm/amdgpu: enable TMZ option for onwards asic
> 
> The TMZ is disabled by default and enable TMZ option for the IP discovery
> based asic will help on the TMZ function verification.
> 
> Signed-off-by: Prike Liang <prike.li...@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 956cc994ca7d..d2dd526a4c80 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -581,6 +581,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device
> *adev)
>       case CHIP_NAVI12:
>       case CHIP_VANGOGH:
>       case CHIP_YELLOW_CARP:
> +     case CHIP_IP_DISCOVERY
>               /* Don't enable it by default yet.
>                */
>               if (amdgpu_tmz < 1) {
> --
> 2.17.1

Reply via email to