drm/amd/pm: resolve reboot exception for si oland
authorGuchun Chen <guchun.chen@amd.com>
Wed, 24 May 2023 07:03:02 +0000 (15:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2023 21:35:29 +0000 (17:35 -0400)
commite490d60a2f76bff636c68ce4fe34c1b6c34bbd86
tree5247cbd2745f3a335d67d099ec76466f337ea8b6
parentbc3e1d60f933f823599376f830eb99451afb995a
drm/amd/pm: resolve reboot exception for si oland

During reboot test on arm64 platform, it may failure on boot.

The error message are as follows:
[    1.706570][ 3] [  T273] [drm:si_thermal_enable_alert [amdgpu]] *ERROR* Could not enable thermal interrupts.
[    1.716547][ 3] [  T273] [drm:amdgpu_device_ip_late_init [amdgpu]] *ERROR* late_init of IP block <si_dpm> failed -22
[    1.727064][ 3] [  T273] amdgpu 0000:02:00.0: amdgpu_device_ip_late_init failed
[    1.734367][ 3] [  T273] amdgpu 0000:02:00.0: Fatal error during GPU init

v2: squash in built warning fix (Alex)

Signed-off-by: Zhenneng Li <lizhenneng@kylinos.cn>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c