drm/amdgpu/gfx10: add clockgating support for navi14
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Mon, 17 Dec 2018 10:22:16 +0000 (18:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:59 +0000 (14:17 -0500)
Same as navi10.

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

index 0767827b850990edff158a0751c69abfe7f38be0..18f302054c3db34ffec31882046d0008cdcff2e9 100644 (file)
@@ -4078,6 +4078,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle,
 
        switch (adev->asic_type) {
        case CHIP_NAVI10:
+       case CHIP_NAVI14:
                gfx_v10_0_update_gfx_clock_gating(adev,
                                                 state == AMD_CG_STATE_GATE ? true : false);
                break;