Skip to contentSkip to conversation

drm/amdgpu: set new revision id for 10.3.7 GC

PATCH New Alex Deucher 1 participant 1 message Feb 14, 2022

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: set new revision id for 10.3.7 GC

From: Prike Liang <[email protected]>

Add new revision ID for GC 10.3.7 and set
cg/pg flags.

---
 drivers/gpu/drm/amd/amdgpu/nv.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/gpu/drm/amd/amdgpu/nv.c +5 -0
index 494e17f65fc3..8cd1dbaddeb4 100644
@@ -905,6 +905,11 @@ static int nv_common_early_init(void *handle)
 		adev->pg_flags = 0;
 		adev->external_rev_id = adev->rev_id + 0x82;
 		break;
+	case IP_VERSION(10, 3, 7):
+		adev->cg_flags = 0;
+		adev->pg_flags = 0;
+		adev->external_rev_id = adev->rev_id + 0x01;
+		break;
 	default:
 		/* FIXME: not supported yet */
 		return -EINVAL;
Signature · 1 line
2.34.1