RE: [PATCH] drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini

2023-02-26 Thread Chen, Guchun
Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: Horatio Zhang Sent: Monday, February 27, 2023 10:14 AM To: amd-gfx@lists.freedesktop.org Cc: Chen, Guchun ; Xu, Feifei ; Yao, Longlong ; Zhang, Horatio ; Yao, Longlong Subject: [PATCH] drm/amdgpu: fix ttm_bo

[PATCH] drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini

2023-02-26 Thread Horatio Zhang
The call trace occurs when the amdgpu is removed after the mode1 reset. During mode1 reset, from suspend to resume, there is no need to reinitialize the ta firmware buffer which caused the bo pin_count increase redundantly. [ 489.885525] Call Trace: [ 489.885525] [ 489.885526] amdttm_bo_put+