From: Xiaojie Yuan Date: Thu, 16 May 2019 11:03:01 +0000 (+0800) Subject: drm/amdgpu/gfx10: set gfx cg for navi12 X-Git-Tag: v5.4-rc1~32^2~19^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59ab8c292b9ada03c05b691252a5a6f1d625e66d;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu/gfx10: set gfx cg for navi12 Same as other navi asics. Signed-off-by: Xiaojie Yuan Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index f6c3958..d8d60d7 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -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;