diff options
| author | Tao Zhou <[email protected]> | 2021-03-19 06:05:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-20 02:41:15 +0000 |
| commit | bc6bd46bc370a6c05f63afcf8e028bf82d172faa (patch) | |
| tree | 7c7828aafc4c84ff8b85f81910da951de36a416c /drivers/gpu/drm/amd/amdgpu/nv.c | |
| parent | drm/amd/pm: use macro to get pptable members (diff) | |
| download | kernel-bc6bd46bc370a6c05f63afcf8e028bf82d172faa.tar.gz kernel-bc6bd46bc370a6c05f63afcf8e028bf82d172faa.zip | |
drm/amdgpu: enable GFX clock gating for beige_goby
Enable GFX MGCG, CGCG and 3DCG for beige_goby.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Jiansong Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index db310f989d03..777998b06b70 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1278,7 +1278,9 @@ static int nv_common_early_init(void *handle) adev->external_rev_id = adev->rev_id + 0x3c; break; case CHIP_BEIGE_GOBY: - adev->cg_flags = 0; + adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | + AMD_CG_SUPPORT_GFX_CGCG | + AMD_CG_SUPPORT_GFX_3D_CGCG; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG; adev->external_rev_id = adev->rev_id + 0x46; |
