Skip to contentSkip to conversation

drm/amdgpu: update vcn/jpeg PG flags for VCN 3.1.1

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

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: update vcn/jpeg PG flags for VCN 3.1.1

From: Sathishkumar S <[email protected]>

update vcn and jpeg power gating flags for VCN 3.1.1

---
 drivers/gpu/drm/amd/amdgpu/nv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +3 -1
index 8cd1dbaddeb4..8a5642f2daa6 100644
@@ -907,7 +907,9 @@ static int nv_common_early_init(void *handle)
 		break;
 	case IP_VERSION(10, 3, 7):
 		adev->cg_flags = 0;
-		adev->pg_flags = 0;
+		adev->pg_flags = AMD_PG_SUPPORT_VCN |
+			AMD_PG_SUPPORT_VCN_DPG |
+			AMD_PG_SUPPORT_JPEG;
 		adev->external_rev_id = adev->rev_id + 0x01;
 		break;
 	default:
Signature · 1 line
2.34.1