drm/amdgpu/soc15: Set common clockgating for vega20.
authorFeifei Xu <Feifei.Xu@amd.com>
Fri, 26 Jan 2018 07:10:55 +0000 (15:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 15:13:17 +0000 (10:13 -0500)
Same as vega10 for now.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index f45bea8..1fd75f5 100644 (file)
@@ -875,6 +875,7 @@ static int soc15_common_set_clockgating_state(void *handle,
        switch (adev->asic_type) {
        case CHIP_VEGA10:
        case CHIP_VEGA12:
+       case CHIP_VEGA20:
                adev->nbio_funcs->update_medium_grain_clock_gating(adev,
                                state == AMD_CG_STATE_GATE ? true : false);
                adev->nbio_funcs->update_medium_grain_light_sleep(adev,