drm/amdgpu/gfx10: set gfx cg for navi12
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 16 May 2019 11:03:01 +0000 (19:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:40 +0000 (10:30 -0500)
Same as other navi asics.

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

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