[AMD Public Use]

Acked-by: Alex Deucher <[email protected]>
________________________________
From: amd-gfx <[email protected]> on behalf of Lazar, Lijo 
<[email protected]>
Sent: Friday, March 12, 2021 3:52 AM
To: [email protected] <[email protected]>
Cc: Xu, Feifei <[email protected]>; Zhang, Hawking <[email protected]>
Subject: [PATCH] drm/amdgpu: Enable VCN/JPEG CG on aldebaran


[AMD Public Use]


Enable clockgating for VCN and JPEG blocks on aldebaran



Signed-off-by: Lijo Lazar [email protected]<mailto:[email protected]>

Reviewed-by: Hawking Zhang [email protected]<mailto:[email protected]>

---

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
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to