drm/amdgpu/athub2: set clock gating for navi14
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Fri, 22 Mar 2019 05:10:03 +0000 (13:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:00 +0000 (14:18 -0500)
same as navi10.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/athub_v2_0.c

index 89b32b6b81c88ac4f2ef3e3ebed218f7dc9ab963..7e6c0bc3e8dd74bd039e2bbd20768944f9ec6227 100644 (file)
@@ -74,6 +74,7 @@ int athub_v2_0_set_clockgating(struct amdgpu_device *adev,
 
        switch (adev->asic_type) {
        case CHIP_NAVI10:
+       case CHIP_NAVI14:
                athub_v2_0_update_medium_grain_clock_gating(adev,
                                state == AMD_CG_STATE_GATE ? true : false);
                athub_v2_0_update_medium_grain_light_sleep(adev,