From: Prike Liang Date: Thu, 17 Feb 2022 09:49:07 +0000 (+0800) Subject: drm/amdgpu: enable TMZ option for onwards asic X-Git-Tag: v5.18-rc1~134^2~11^2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7342bf6530a78ae80b27d9a13bb10a409fdc20ad;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Aaron Liu Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c index a71688d1c1b14..78498d1d17697 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -537,6 +537,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) {