diff options
| author | 2021-01-12 16:51:59 +0800 | |
|---|---|---|
| committer | 2021-06-04 16:03:16 -0400 | |
| commit | db72c3fac913058b3c6c379a904ceb79c78b9659 (patch) | |
| tree | 40f662bd43d96eadfe89dcf42b7d58c97cf6b7e5 /drivers/gpu/drm/amd/amdgpu/nv.c | |
| parent | drm/amdgpu: add ATHUB Clock Gating support for yellow carp (diff) | |
| download | linux-dev-db72c3fac913058b3c6c379a904ceb79c78b9659.tar.xz linux-dev-db72c3fac913058b3c6c379a904ceb79c78b9659.zip | |
drm/amdgpu: add IH Clock Gating support for yellow carp
IH CG need to be enabled by driver.
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 15f5d9aa9485..fc3ad33b4de6 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1340,7 +1340,8 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_HDP_MGCG | AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_ATHUB_MGCG | - AMD_CG_SUPPORT_ATHUB_LS; + AMD_CG_SUPPORT_ATHUB_LS | + AMD_CG_SUPPORT_IH_CG; adev->pg_flags = AMD_PG_SUPPORT_GFX_PG; adev->external_rev_id = adev->rev_id + 0x01; break; |
