Skip to content

Commit 663b930

Browse files
ikshwakuCalexdeucher
authored andcommitted
drm/amdgpu: enable tmz by default for GC 11.0.1
Add IP GC 11.0.1 in the list of target to have tmz enabled by default. Signed-off-by: Ikshwaku Chauhan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.1.x
1 parent e490d60 commit 663b930

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
593593
case IP_VERSION(9, 3, 0):
594594
/* GC 10.3.7 */
595595
case IP_VERSION(10, 3, 7):
596+
/* GC 11.0.1 */
597+
case IP_VERSION(11, 0, 1):
596598
if (amdgpu_tmz == 0) {
597599
adev->gmc.tmz_enabled = false;
598600
dev_info(adev->dev,
@@ -616,7 +618,6 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
616618
case IP_VERSION(10, 3, 1):
617619
/* YELLOW_CARP*/
618620
case IP_VERSION(10, 3, 3):
619-
case IP_VERSION(11, 0, 1):
620621
case IP_VERSION(11, 0, 4):
621622
/* Don't enable it by default yet.
622623
*/

0 commit comments

Comments
 (0)