Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-13 Thread Daniel Vetter
On Wed, May 13, 2020 at 10:32:56AM -0400, Andrey Grodzovsky wrote: > > On 5/11/20 5:54 AM, Daniel Vetter wrote: > > On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: > > > This RFC is a more of a proof of concept then a fully working solution as > > > there are a few unresolved

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-13 Thread Andrey Grodzovsky
On 5/11/20 5:54 AM, Daniel Vetter wrote: On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: This RFC is a more of a proof of concept then a fully working solution as there are a few unresolved issues we are hopping to get advise on from people on the mailing list. Until now

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Andrey Grodzovsky
On 5/11/20 5:26 AM, Pekka Paalanen wrote: On Sat, 9 May 2020 14:51:44 -0400 Andrey Grodzovsky wrote: This RFC is a more of a proof of concept then a fully working solution as there are a few unresolved issues we are hopping to get advise on from people on the mailing list. Until now

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Mon, May 11, 2020 at 4:08 PM Lukas Wunner wrote: > > On Mon, May 11, 2020 at 02:21:57PM +0200, Daniel Vetter wrote: > > On Mon, May 11, 2020 at 1:43 PM Lukas Wunner wrote: > > > On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > > > > - One unfortunate thing with drm_dev_unplug

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Lukas Wunner
On Mon, May 11, 2020 at 02:21:57PM +0200, Daniel Vetter wrote: > On Mon, May 11, 2020 at 1:43 PM Lukas Wunner wrote: > > On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > > > - One unfortunate thing with drm_dev_unplug is that the driver core is > > > very opinionated and doesn't

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Mon, May 11, 2020 at 2:34 PM Christian König wrote: > > Am 11.05.20 um 13:19 schrieb Daniel Vetter: > > On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > >> On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: > >>> This RFC is a more of a proof of concept then a

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Christian König
Am 11.05.20 um 13:19 schrieb Daniel Vetter: On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: This RFC is a more of a proof of concept then a fully working solution as there are a few unresolved issues we are

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Christian König
Am 11.05.20 um 11:26 schrieb Pekka Paalanen: On Sat, 9 May 2020 14:51:44 -0400 Andrey Grodzovsky wrote: This RFC is a more of a proof of concept then a fully working solution as there are a few unresolved issues we are hopping to get advise on from people on the mailing list. Until now

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Mon, May 11, 2020 at 1:43 PM Lukas Wunner wrote: > > On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > > - One unfortunate thing with drm_dev_unplug is that the driver core is > > very opinionated and doesn't tell you whether it's a hotunplug or a > > driver unload. In the

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Lukas Wunner
On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > - One unfortunate thing with drm_dev_unplug is that the driver core is > very opinionated and doesn't tell you whether it's a hotunplug or a > driver unload. In the former case trying to shut down hw just wastes > time (and

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Mon, May 11, 2020 at 11:54:33AM +0200, Daniel Vetter wrote: > On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: > > This RFC is a more of a proof of concept then a fully working solution as > > there are a few unresolved issues we are hopping to get advise on from > > people

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Mon, May 11, 2020 at 11:19:30AM +0100, Chris Wilson wrote: > Quoting Daniel Vetter (2020-05-11 10:54:33) > > - worse, neither vk nor gl (to my knowledge) have a concept of events > > for when the gpu died. The only stuff you have is things like > > arb_robustness which says a)

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Chris Wilson
Quoting Daniel Vetter (2020-05-11 10:54:33) > - worse, neither vk nor gl (to my knowledge) have a concept of events > for when the gpu died. The only stuff you have is things like > arb_robustness which says a) everything continues as if nothing > happened b) there's a function where

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Daniel Vetter
On Sat, May 09, 2020 at 02:51:44PM -0400, Andrey Grodzovsky wrote: > This RFC is a more of a proof of concept then a fully working solution as > there are a few unresolved issues we are hopping to get advise on from people > on the mailing list. > Until now extracting a card either by physical

Re: [PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-11 Thread Pekka Paalanen
On Sat, 9 May 2020 14:51:44 -0400 Andrey Grodzovsky wrote: > This RFC is a more of a proof of concept then a fully working > solution as there are a few unresolved issues we are hopping to get > advise on from people on the mailing list. Until now extracting a > card either by physical

[PATCH 0/6] RFC Support hot device unplug in amdgpu

2020-05-09 Thread Andrey Grodzovsky
This RFC is a more of a proof of concept then a fully working solution as there are a few unresolved issues we are hopping to get advise on from people on the mailing list. Until now extracting a card either by physical extraction (e.g. eGPU with thunderbold connection or by emulation through