[PATCH] drm/amdgpu: enable tmz on yellow carp

Huang Rui ray.huang at amd.com
Wed Jun 23 03:21:22 UTC 2021


On Wed, Jun 23, 2021 at 10:10:09AM +0800, Liu, Aaron wrote:
> The tmz functions are verified on yellow carp. So enable it by
> default.
> 
> Signed-off-by: Aaron Liu <aaron.liu at amd.com>

Reviewed-by: Huang Rui <ray.huang 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 3014985cbf47..1525d957e114 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -553,6 +553,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
>  	case CHIP_NAVI14:
>  	case CHIP_NAVI12:
>  	case CHIP_VANGOGH:
> +	case CHIP_YELLOW_CARP:
>  		/* Don't enable it by default yet.
>  		 */
>  		if (amdgpu_tmz < 1) {
> -- 
> 2.25.1
> 


More information about the amd-gfx mailing list