[PATCH] drm/amdgpu: Enable VCN/JPEG CG on aldebaran

Lazar, Lijo Lijo.Lazar at amd.com
Fri Mar 12 08:52:17 UTC 2021


[AMD Public Use]

Enable clockgating for VCN and JPEG blocks on aldebaran

Signed-off-by: Lijo Lazar lijo.lazar at amd.com<mailto:lijo.lazar at amd.com>
Reviewed-by: Hawking Zhang Hawking.Zhang at amd.com<mailto:Hawking.Zhang at amd.com>
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3808402cd964..a08000a3bdb9 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1495,8 +1495,8 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_HDP_LS |
                        AMD_CG_SUPPORT_SDMA_MGCG |
                        AMD_CG_SUPPORT_SDMA_LS |
-                       AMD_CG_SUPPORT_IH_CG;
-                       /*AMD_CG_SUPPORT_VCN_MGCG |AMD_CG_SUPPORT_JPEG_MGCG;*/
+                       AMD_CG_SUPPORT_IH_CG |
+                       AMD_CG_SUPPORT_VCN_MGCG | AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x3c;
                break;
--
2.17.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210312/dd6a2e91/attachment-0001.htm>


More information about the amd-gfx mailing list