drm/amdgpu: enable tmz by default for GC 10.3.7
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable tmz by default for GC 10.3.7
Add IP GC 10.3.7 in the list of target to have
tmz enabled by default.
Signed-off-by Sunil Khatri <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +2 -2
@@ -518,6 +518,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)case IP_VERSION (9 ,1 ,0 ):/* RENOIR looks like RAVEN */ case IP_VERSION (9 ,3 ,0 ): +/* GC 10.3.7 */ +case IP_VERSION (10 ,3 ,7 ):if (amdgpu_tmz ==0 ) { adev->gmc.tmz_enabled = false; dev_info(adev->dev,
@@ -540,8 +542,6 @@ 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 ) {
Signature · 1 line
2.25.1
Quoted 5 lines · Sunil Khatri
Add IP GC 10.3.7 in the list of target to have
tmz enabled by default.Signed-off-by Sunil Khatri <[email protected]>
Assuming this is validated and working,
Reviewed-by Alex Deucher <[email protected]>
Quoted 29 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +2
-3@@ -518,6 +518,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)case IP_VERSION (9 ,1 ,0 ):/* RENOIR looks like RAVEN */ case IP_VERSION (9 ,3 ,0 ): +/* GC 10.3.7 */ +case IP_VERSION (10 ,3 ,7 ):if (amdgpu_tmz ==0 ) { adev->gmc.tmz_enabled = false; dev_info(adev->dev,@@ -540,8 +542,6 @@ 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 ) { --2.25.1