Re: [PATCH v3 08/12] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-25 Thread Andrey Grodzovsky
On 11/25/20 5:41 AM, Daniel Vetter wrote: On Tue, Nov 24, 2020 at 10:51:57AM -0500, Andrey Grodzovsky wrote: On 11/24/20 9:53 AM, Daniel Vetter wrote: On Sat, Nov 21, 2020 at 12:21:18AM -0500, Andrey Grodzovsky wrote: Some of the stuff in amdgpu_device_fini such as HW interrupts disable and

Re: [PATCH v3 08/12] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-25 Thread Daniel Vetter
On Tue, Nov 24, 2020 at 10:51:57AM -0500, Andrey Grodzovsky wrote: > > On 11/24/20 9:53 AM, Daniel Vetter wrote: > > On Sat, Nov 21, 2020 at 12:21:18AM -0500, Andrey Grodzovsky wrote: > > > Some of the stuff in amdgpu_device_fini such as HW interrupts > > > disable and pending fences finilization

Re: [PATCH v3 08/12] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-24 Thread Andrey Grodzovsky
On 11/24/20 9:53 AM, Daniel Vetter wrote: On Sat, Nov 21, 2020 at 12:21:18AM -0500, Andrey Grodzovsky wrote: Some of the stuff in amdgpu_device_fini such as HW interrupts disable and pending fences finilization must be done right away on pci_remove while most of the stuff which relates to

Re: [PATCH v3 08/12] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-24 Thread Daniel Vetter
On Sat, Nov 21, 2020 at 12:21:18AM -0500, Andrey Grodzovsky wrote: > Some of the stuff in amdgpu_device_fini such as HW interrupts > disable and pending fences finilization must be done right away on > pci_remove while most of the stuff which relates to finilizing and > releasing driver data

[PATCH v3 08/12] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-20 Thread Andrey Grodzovsky
Some of the stuff in amdgpu_device_fini such as HW interrupts disable and pending fences finilization must be done right away on pci_remove while most of the stuff which relates to finilizing and releasing driver data structures can be kept until drm_driver.release hook is called, i.e. when the