summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-09-01 16:50:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 14:36:48 -0500
commit900bad3fe92783472ea93cc662a83a03d5a8583b (patch)
treee61c1688973e403fe21abf36428191a78490056b /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
parent607c26a0ea335295938e7cc1a690a86d6c4faac6 (diff)
downloadtalos-obmc-linux-900bad3fe92783472ea93cc662a83a03d5a8583b.tar.gz
talos-obmc-linux-900bad3fe92783472ea93cc662a83a03d5a8583b.zip
drm/amdgpu/sdma4: add clockgating support for vega12
Same as vega10 for now. 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/drm/amd/amdgpu/sdma_v4_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 4eddd850b72d..3d059ecd8758 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -1497,6 +1497,7 @@ static int sdma_v4_0_set_clockgating_state(void *handle,
switch (adev->asic_type) {
case CHIP_VEGA10:
+ case CHIP_VEGA12:
case CHIP_RAVEN:
sdma_v4_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
OpenPOWER on IntegriCloud