diff options
author | Feifei Xu <Feifei.Xu@amd.com> | 2018-01-23 02:03:36 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-17 11:13:16 -0400 |
commit | 28b576b27a7acb29ce5b64da69d3855f6302350d (patch) | |
tree | ee30631bfc31c0b73aeb73214e5dcb2bdf889955 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | 61324ddc5b7a43c3b989fbbb2ac5d99009a04d4b (diff) |
drm/amdgpu/gfx9: Add clockgatting support for vega20
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 92ed268a1b7f..13253e09f4bd 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |||
@@ -3724,6 +3724,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle, | |||
3724 | switch (adev->asic_type) { | 3724 | switch (adev->asic_type) { |
3725 | case CHIP_VEGA10: | 3725 | case CHIP_VEGA10: |
3726 | case CHIP_VEGA12: | 3726 | case CHIP_VEGA12: |
3727 | case CHIP_VEGA20: | ||
3727 | case CHIP_RAVEN: | 3728 | case CHIP_RAVEN: |
3728 | gfx_v9_0_update_gfx_clock_gating(adev, | 3729 | gfx_v9_0_update_gfx_clock_gating(adev, |
3729 | state == AMD_CG_STATE_GATE ? true : false); | 3730 | state == AMD_CG_STATE_GATE ? true : false); |