[PATCH v3] drm/amdgpu: resove reboot exception for si oland

Chen, Guchun Guchun.Chen at amd.com
Wed May 24 01:18:13 UTC 2023


[Public]

This patch did not land at all? Well, please add your SOB in commit message, and I will push it to amd-staging-drm-next branch with my RB.

Regards,
Guchun

> -----Original Message-----
> From: Zhenneng Li <lizhenneng at kylinos.cn>
> Sent: Wednesday, May 24, 2023 9:10 AM
> To: Chen, Guchun <Guchun.Chen at amd.com>
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Koenig, Christian
> <Christian.Koenig at amd.com>; Pan, Xinhui <Xinhui.Pan at amd.com>; David
> Airlie <airlied at linux.ie>; Daniel Vetter <daniel at ffwll.ch>; amd-
> gfx at lists.freedesktop.org; Zhenneng Li <lizhenneng at kylinos.cn>
> Subject: [PATCH v3] drm/amdgpu: resove 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
> ---
>  drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 12 ------------
>  1 file changed, 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> b/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> index d6d9e3b1b2c0..ca9bce895dbe 100644
> --- a/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> +++ b/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> @@ -7626,18 +7626,6 @@ static int si_dpm_process_interrupt(struct
> amdgpu_device *adev,
>
>  static int si_dpm_late_init(void *handle)  {
> -     int ret;
> -     struct amdgpu_device *adev = (struct amdgpu_device *)handle;
> -
> -     if (!adev->pm.dpm_enabled)
> -             return 0;
> -
> -     ret = si_set_temperature_range(adev);
> -     if (ret)
> -             return ret;
> -#if 0 //TODO ?
> -     si_dpm_powergate_uvd(adev, true);
> -#endif
>       return 0;
>  }
>
> --
> 2.25.1
>
>
> No virus found
>               Checked by Hillstone Network AntiVirus


More information about the amd-gfx mailing list