]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: enable clockgating only after late init
authorArindam Nath <arindam.nath@amd.com>
Fri, 7 Oct 2016 13:31:37 +0000 (19:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Oct 2016 19:44:15 +0000 (15:44 -0400)
commit4e4f70e28ffd9ab14ba2ee721d9d7542eba1b40f
treedb52e60ad9b8686f54baed06980aa0bc2662de96
parent76c4b82e0442bfbcbb8a84e8e1472c28034786e0
drm/amd/amdgpu: enable clockgating only after late init

Sometimes during multiple reboots, the system hangs
during bootup. The issue is very random and happens
once in around 50 reboots or so.

It seems if clockgating is enabled before late init,
the GFX engine sometimes does not respond.

This patch changes the ordering a little so that
both powergating and clockgating are enabled only
after late init calls.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Tested-by: Sunil Uttarwar <Sunil.Uttarwar1@amd.com>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c