From: Sunil Khatri Date: Tue, 17 May 2022 06:03:45 +0000 (+0530) Subject: drm/amdgpu: add support of tmz for GC 10.3.7 X-Git-Tag: v5.19-rc1~56^2~3^2~17 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=49b74d12d1e02fc67b2854a593e589372d894e62;p=linux-block.git drm/amdgpu: add support of tmz for GC 10.3.7 Add support of IP GC 10.3.7 in amdgpu_gmc_tmz_set. Signed-off-by: Sunil Khatri Reviewed-by: Alexander 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 7e55ee61f84c..798c56214a23 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -540,6 +540,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev) case IP_VERSION(10, 3, 1): /* YELLOW_CARP*/ case IP_VERSION(10, 3, 3): + /* GC 10.3.7 */ + case IP_VERSION(10, 3, 7): /* Don't enable it by default yet. */ if (amdgpu_tmz < 1) {