Re: [PATCH] drm/amdgpu: Correct the place of amdgpu_pm_sysfs_fini

2018-03-07 Thread Alex Deucher
On Wed, Mar 7, 2018 at 5:17 AM, Emily Deng wrote: > The amdgpu_pm_sysfs_fini should call before amdgpu_device_ip_fini, > or the adev->pm.dpm_enabled would be set to 0, then the device files > related to pp won't be removed by amdgpu_pm_sysfs_fini when unload > driver. > >

[PATCH] drm/amdgpu: Correct the place of amdgpu_pm_sysfs_fini

2018-03-07 Thread Emily Deng
The amdgpu_pm_sysfs_fini should call before amdgpu_device_ip_fini, or the adev->pm.dpm_enabled would be set to 0, then the device files related to pp won't be removed by amdgpu_pm_sysfs_fini when unload driver. Signed-off-by: Emily Deng ---