diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-09-02 02:26:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-21 14:36:51 -0500 |
commit | 23862464f806ceab84854ba2422774b29a7225bc (patch) | |
tree | 9dfd2aa374ea8f12632a7bfc29941a66601227b0 /drivers/gpu | |
parent | 8b399477554b918eed48c7048bf9b11c4d3782d3 (diff) | |
download | linux-23862464f806ceab84854ba2422774b29a7225bc.tar.gz linux-23862464f806ceab84854ba2422774b29a7225bc.tar.bz2 linux-23862464f806ceab84854ba2422774b29a7225bc.zip |
drm/amdgpu/gfx9: add clockgating support for vega12
Same as vega10 and raven.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Diffstat (limited to 'drivers/gpu')
-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 673b81841500..9ce1e9e552d9 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -3505,6 +3505,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle, switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: gfx_v9_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false); |