Commit 663b930e authored by Ikshwaku Chauhan's avatar Ikshwaku Chauhan Committed by Alex Deucher
Browse files

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: default avatarIkshwaku Chauhan <ikshwaku.chauhan@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
parent e490d60a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -593,6 +593,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
	case IP_VERSION(9, 3, 0):
	/* GC 10.3.7 */
	case IP_VERSION(10, 3, 7):
	/* GC 11.0.1 */
	case IP_VERSION(11, 0, 1):
		if (amdgpu_tmz == 0) {
			adev->gmc.tmz_enabled = false;
			dev_info(adev->dev,
@@ -616,7 +618,6 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
	case IP_VERSION(10, 3, 1):
	/* YELLOW_CARP*/
	case IP_VERSION(10, 3, 3):
	case IP_VERSION(11, 0, 1):
	case IP_VERSION(11, 0, 4):
		/* Don't enable it by default yet.
		 */