Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-25 Thread Andrey Grodzovsky
On 2021-02-25 5:25 a.m., Daniel Vetter wrote: On Wed, Feb 24, 2021 at 11:30:50AM -0500, Andrey Grodzovsky wrote: On 2021-02-19 5:24 a.m., Daniel Vetter wrote: On Thu, Feb 18, 2021 at 9:03 PM Andrey Grodzovsky wrote: Looked a bit into it, I want to export sync_object to FD and import from t

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-25 Thread Daniel Vetter
On Wed, Feb 24, 2021 at 11:30:50AM -0500, Andrey Grodzovsky wrote: > > On 2021-02-19 5:24 a.m., Daniel Vetter wrote: > > On Thu, Feb 18, 2021 at 9:03 PM Andrey Grodzovsky > > wrote: > > > Looked a bit into it, I want to export sync_object to FD and import from > > > that FD > > > such that I wi

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-24 Thread Andrey Grodzovsky
On 2021-02-19 5:24 a.m., Daniel Vetter wrote: On Thu, Feb 18, 2021 at 9:03 PM Andrey Grodzovsky wrote: Looked a bit into it, I want to export sync_object to FD and import from that FD such that I will wait on the imported sync object handle from one thread while signaling the exported sync

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-19 Thread Daniel Vetter
On Thu, Feb 18, 2021 at 9:03 PM Andrey Grodzovsky wrote: > > Looked a bit into it, I want to export sync_object to FD and import from > that FD > such that I will wait on the imported sync object handle from one thread while > signaling the exported sync object handle from another (post device u

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-18 Thread Andrey Grodzovsky
Looked a bit into it, I want to export sync_object to FD and importĀ  from that FD such that I will wait on the imported sync object handle from one thread while signaling the exported sync object handle from another (post device unplug) ? My problem is how to create a sync object with a non sign

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-09 Thread Andrey Grodzovsky
On 2/9/21 4:50 AM, Daniel Vetter wrote: On Mon, Feb 08, 2021 at 11:01:14PM -0500, Andrey Grodzovsky wrote: On 2/8/21 2:27 AM, Daniel Vetter wrote: On Mon, Feb 8, 2021 at 6:59 AM Andrey Grodzovsky wrote: On 1/20/21 10:59 AM, Daniel Vetter wrote: On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzo

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-09 Thread Daniel Vetter
On Mon, Feb 08, 2021 at 11:01:14PM -0500, Andrey Grodzovsky wrote: > > On 2/8/21 2:27 AM, Daniel Vetter wrote: > > On Mon, Feb 8, 2021 at 6:59 AM Andrey Grodzovsky > > wrote: > > > > > > On 1/20/21 10:59 AM, Daniel Vetter wrote: > > > > On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzovsky > > > >

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-08 Thread Andrey Grodzovsky
On 2/8/21 2:27 AM, Daniel Vetter wrote: On Mon, Feb 8, 2021 at 6:59 AM Andrey Grodzovsky wrote: On 1/20/21 10:59 AM, Daniel Vetter wrote: On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzovsky wrote: On 1/20/21 4:05 AM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Gro

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-07 Thread Daniel Vetter
On Mon, Feb 8, 2021 at 6:59 AM Andrey Grodzovsky wrote: > > > On 1/20/21 10:59 AM, Daniel Vetter wrote: > > On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzovsky > > wrote: > >> > >> On 1/20/21 4:05 AM, Daniel Vetter wrote: > >>> On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Grodzovsky wrote: > >>

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-07 Thread Andrey Grodzovsky
On 1/20/21 10:59 AM, Daniel Vetter wrote: On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzovsky wrote: On 1/20/21 4:05 AM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Grodzovsky wrote: On 1/19/21 1:08 PM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 6:31 PM Andrey Gro

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-20 Thread Daniel Vetter
On Wed, Jan 20, 2021 at 3:20 PM Andrey Grodzovsky wrote: > > > On 1/20/21 4:05 AM, Daniel Vetter wrote: > > On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Grodzovsky wrote: > >> On 1/19/21 1:08 PM, Daniel Vetter wrote: > >>> On Tue, Jan 19, 2021 at 6:31 PM Andrey Grodzovsky > >>> wrote: >

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-20 Thread Andrey Grodzovsky
On 1/20/21 4:05 AM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Grodzovsky wrote: On 1/19/21 1:08 PM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 6:31 PM Andrey Grodzovsky wrote: On 1/19/21 9:16 AM, Daniel Vetter wrote: On Mon, Jan 18, 2021 at 04:01:09PM -0500, A

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-20 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 01:18:15PM -0500, Andrey Grodzovsky wrote: > > On 1/19/21 1:08 PM, Daniel Vetter wrote: > > On Tue, Jan 19, 2021 at 6:31 PM Andrey Grodzovsky > > wrote: > > > > > > On 1/19/21 9:16 AM, Daniel Vetter wrote: > > > > On Mon, Jan 18, 2021 at 04:01:09PM -0500, Andrey Grodzovsk

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-19 Thread Andrey Grodzovsky
On 1/19/21 1:08 PM, Daniel Vetter wrote: On Tue, Jan 19, 2021 at 6:31 PM Andrey Grodzovsky wrote: On 1/19/21 9:16 AM, Daniel Vetter wrote: On Mon, Jan 18, 2021 at 04:01:09PM -0500, Andrey Grodzovsky wrote: Until now extracting a card either by physical extraction (e.g. eGPU with thunderbol

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 6:31 PM Andrey Grodzovsky wrote: > > > On 1/19/21 9:16 AM, Daniel Vetter wrote: > > On Mon, Jan 18, 2021 at 04:01:09PM -0500, Andrey Grodzovsky wrote: > >> Until now extracting a card either by physical extraction (e.g. eGPU with > >> thunderbolt connection or by emulation

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-19 Thread Andrey Grodzovsky
On 1/19/21 9:16 AM, Daniel Vetter wrote: On Mon, Jan 18, 2021 at 04:01:09PM -0500, Andrey Grodzovsky wrote: Until now extracting a card either by physical extraction (e.g. eGPU with thunderbolt connection or by emulation through syfs -> /sys/bus/pci/devices/device_id/remove) would cause rando

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-19 Thread Daniel Vetter
On Mon, Jan 18, 2021 at 04:01:09PM -0500, Andrey Grodzovsky wrote: > Until now extracting a card either by physical extraction (e.g. eGPU with > thunderbolt connection or by emulation through syfs -> > /sys/bus/pci/devices/device_id/remove) > would cause random crashes in user apps. The random

[PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-01-18 Thread Andrey Grodzovsky
Until now extracting a card either by physical extraction (e.g. eGPU with thunderbolt connection or by emulation through syfs -> /sys/bus/pci/devices/device_id/remove) would cause random crashes in user apps. The random crashes in apps were mostly due to the app having mapped a device backed B