Re: [PATCH] drm/amdgpu: release drm_device after amdgpu_driver_unload_kms

2020-02-27 Thread Christian König
Am 27.02.20 um 15:26 schrieb Yintian Tao: If we release drm_device before amdgpu_driver_unload_kms, then it will raise the error below. Therefore, we need to place it before amdgpu_driver_unload_kms. [ 43.055736] Memory manager not clean during takedown. [ 43.055777] WARNING: CPU: 1 PID: 2807

Re: [PATCH] drm/amdgpu: release drm_device after amdgpu_driver_unload_kms

2020-02-27 Thread Alex Deucher
On Thu, Feb 27, 2020 at 9:26 AM Yintian Tao wrote: > > If we release drm_device before amdgpu_driver_unload_kms, > then it will raise the error below. Therefore, we need to > place it before amdgpu_driver_unload_kms. > [ 43.055736] Memory manager not clean during takedown. > [ 43.055777] WARNI

RE: [PATCH] drm/amdgpu: release drm_device after amdgpu_driver_unload_kms

2020-02-27 Thread Tao, Yintian
Many thanks. I will put it after pci_* functions. -Original Message- From: Christian König Sent: 2020年2月27日 22:21 To: Tao, Yintian ; Koenig, Christian ; Deucher, Alexander Cc: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu: release drm_device after

Re: [PATCH] drm/amdgpu: release drm_device after amdgpu_driver_unload_kms

2020-02-27 Thread Christian König
Am 27.02.20 um 12:58 schrieb Yintian Tao: If we release drm_device before amdgpu_driver_unload_kms, then it will raise the error below. Therefore, we need to place it before amdgpu_driver_unload_kms. [ 43.055736] Memory manager not clean during takedown. [ 43.055777] WARNING: CPU: 1 PID: 2807