aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Sathishkumar S <sathishkumar.sundararaju@amd.com> 2021-05-03 12:34:10 +0530
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2021-05-13 10:49:16 -0400
commit3666f83a11293fd3cbeb3c9e0c3c53a33a48c28b (patch)
tree2c460b3181e276d4300ddf397dd42a052cb83ca1 /drivers
parentdrm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are... (diff)
downloadlinux-3666f83a11293fd3cbeb3c9e0c3c53a33a48c28b.tar.gz
linux-3666f83a11293fd3cbeb3c9e0c3c53a33a48c28b.tar.bz2
linux-3666f83a11293fd3cbeb3c9e0c3c53a33a48c28b.zip
drm/amdgpu: set vcn mgcg flag for picasso
enable vcn mgcg flag for picasso. Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index d80e12b80c7e..8e1b9a40839f 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1401,7 +1401,8 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_MC_MGCG |
AMD_CG_SUPPORT_MC_LS |
AMD_CG_SUPPORT_SDMA_MGCG |
- AMD_CG_SUPPORT_SDMA_LS;
+ AMD_CG_SUPPORT_SDMA_LS |
+ AMD_CG_SUPPORT_VCN_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_SDMA |
AMD_PG_SUPPORT_MMHUB |