drm/amdgpu/gfx9: add clockgating support for vega12
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 2 Sep 2017 06:26:50 +0000 (02:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:36:51 +0000 (14:36 -0500)
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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index 673b81841500924f3cee1f19b70e3688a66959eb..9ce1e9e552d9714843f0842251d5b03783cfb3de 100644 (file)
@@ -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);