aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorJinzhou Su <Jinzhou.Su@amd.com>2021-04-21 10:59:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-04-23 17:15:39 -0400
commitef9bcfde9e1f6f3ebefabf2c72d5fd04f9745d9d (patch)
tree06787510b92b4dcb42ed714f9e7b9db00f0152e8 /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: add support for ras init flags (diff)
downloadlinux-dev-ef9bcfde9e1f6f3ebefabf2c72d5fd04f9745d9d.tar.xz
linux-dev-ef9bcfde9e1f6f3ebefabf2c72d5fd04f9745d9d.zip
drm/amdgpu: Enable SDMA MGCG for Vangogh
Add flags AMD_CG_SUPPORT_SDMA_MGCG for Vangogh. Start to open sdma mgcg from firmware version 70. Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index d54af7f8801b..0142f6760ad2 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -1118,6 +1118,7 @@ static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_MC_LS |
AMD_CG_SUPPORT_GFX_FGCG |
AMD_CG_SUPPORT_VCN_MGCG |
+ AMD_CG_SUPPORT_SDMA_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_VCN |