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

Reviewed-by: Christian König <[email protected]>
Signed-off-by: Feifei Xu <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/soc15.c

index f45bea84a73e77d9598f67fb2cc1b342a019c5d2..1fd75f5aa22bf931aae645f6a937dd365d38e547 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,