From: Alex Deucher Date: Tue, 14 Mar 2017 19:00:23 +0000 (-0400) Subject: drm/amdgpu/gfx8: enable cp/rlc ints after we disable clockgating X-Git-Tag: v4.13-rc1~45^2~24^2~329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5dc36a45e9fd1cfc2287fe207121aaad5781fba;p=platform%2Fkernel%2Flinux-exynos.git drm/amdgpu/gfx8: enable cp/rlc ints after we disable clockgating Even if we disable clockgating, we still need to make sure the cp/rlc interrupts are enabled for powergating which might still be enabled. Acked-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 818b07b..7e69d4f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -6107,6 +6107,8 @@ static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev RLC_CGCG_CGLS_CTRL__CGLS_EN_MASK); if (temp != data) WREG32(mmRLC_CGCG_CGLS_CTRL, data); + /* enable interrupts again for PG */ + gfx_v8_0_enable_gui_idle_interrupt(adev, true); } gfx_v8_0_wait_for_rlc_serdes(adev);