[PATCH 32/36] drm/amdgpu: enable DPG mode for Navi12
Alex Deucher
alexdeucher at gmail.com
Thu Aug 1 20:29:53 UTC 2019
From: Boyuan Zhang <boyuan.zhang at amd.com>
Enable Dynamic Power Gating VCN for Navi12.
Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/nv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 7c00aaeefda9..85e7688dbaa0 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -614,7 +614,7 @@ static int nv_common_early_init(void *handle)
break;
case CHIP_NAVI12:
adev->cg_flags = 0;
- adev->pg_flags = 0;
+ adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0xa;
break;
default:
--
2.20.1
More information about the amd-gfx
mailing list