From: Tao Zhou Date: Fri, 2 Oct 2020 15:29:43 +0000 (-0400) Subject: drm/amdgpu: add gfx clock gating support for dimgrey_cavefish X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f2a6c81d02de6c892d1ef323992f40de6f585f3f;p=linux.git drm/amdgpu: add gfx clock gating support for dimgrey_cavefish Set gfx clock gating for dimgrey_cavefish. Signed-off-by: Tao Zhou Reviewed-by: Hawking Zhang Reviewed-by: Jiansong Chen 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 7136d4c59ecbd..c7ac341d016f9 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -7686,6 +7686,7 @@ static int gfx_v10_0_set_clockgating_state(void *handle, case CHIP_SIENNA_CICHLID: case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: + case CHIP_DIMGREY_CAVEFISH: gfx_v10_0_update_gfx_clock_gating(adev, state == AMD_CG_STATE_GATE); break;