diff options
| author | Aaron Liu <[email protected]> | 2021-01-11 05:16:31 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-04 20:03:15 +0000 |
| commit | f1e9aa65f8727c26ae0ea792898ffda45b203c67 (patch) | |
| tree | 7a5e4e5e376bf0b7cccaf5cd28243c99730bf836 /drivers/gpu/drm/amd/amdgpu/nv.c | |
| parent | drm/amdgpu/pm: enable gfx_off in yellow carp smu post init (diff) | |
| download | kernel-f1e9aa65f8727c26ae0ea792898ffda45b203c67.tar.gz kernel-f1e9aa65f8727c26ae0ea792898ffda45b203c67.zip | |
drm/amdgpu: add SDMA Clock Gating support for yellow carp
Add AMD_CG_SUPPORT_SDMA_LS support.
SDMA MGCG programming is migrated to RLC.
Signed-off-by: Aaron Liu <[email protected]>
Reviewed-by: Huang Rui <[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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 3ffb8095fbb3..3e20c40766b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1335,7 +1335,8 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_CP_LS | AMD_CG_SUPPORT_GFX_FGCG | AMD_CG_SUPPORT_MC_MGCG | - AMD_CG_SUPPORT_MC_LS; + AMD_CG_SUPPORT_MC_LS | + AMD_CG_SUPPORT_SDMA_LS; adev->pg_flags = AMD_PG_SUPPORT_GFX_PG; adev->external_rev_id = adev->rev_id + 0x01; break; |
