Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-14 Thread Daniel Vetter
On Tue, Jul 14, 2020 at 01:36:41PM +0200, Christian König wrote: > Am 14.07.20 um 11:53 schrieb Daniel Vetter: > > On Tue, Jul 14, 2020 at 11:28:12AM +0200, Christian König wrote: > > > Am 14.07.20 um 10:58 schrieb Daniel Vetter: > > > > On Tue, Jul 14, 2020 at 02:26:36PM +1000, Dave Airlie wrote:

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-14 Thread Christian König
Am 14.07.20 um 11:53 schrieb Daniel Vetter: On Tue, Jul 14, 2020 at 11:28:12AM +0200, Christian König wrote: Am 14.07.20 um 10:58 schrieb Daniel Vetter: On Tue, Jul 14, 2020 at 02:26:36PM +1000, Dave Airlie wrote: On Tue, 14 Jul 2020 at 14:09, Felix Kuehling wrote: Am 2020-07-13 um 11:28 p.m

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-14 Thread Daniel Vetter
On Tue, Jul 14, 2020 at 11:28:12AM +0200, Christian König wrote: > Am 14.07.20 um 10:58 schrieb Daniel Vetter: > > On Tue, Jul 14, 2020 at 02:26:36PM +1000, Dave Airlie wrote: > > > On Tue, 14 Jul 2020 at 14:09, Felix Kuehling > > > wrote: > > > > Am 2020-07-13 um 11:28 p.m. schrieb Dave Airlie:

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-14 Thread Christian König
Am 14.07.20 um 10:58 schrieb Daniel Vetter: On Tue, Jul 14, 2020 at 02:26:36PM +1000, Dave Airlie wrote: On Tue, 14 Jul 2020 at 14:09, Felix Kuehling wrote: Am 2020-07-13 um 11:28 p.m. schrieb Dave Airlie: On Tue, 14 Jul 2020 at 13:14, Felix Kuehling wrote: This allows exporting and importi

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-14 Thread Daniel Vetter
On Tue, Jul 14, 2020 at 02:26:36PM +1000, Dave Airlie wrote: > On Tue, 14 Jul 2020 at 14:09, Felix Kuehling wrote: > > > > Am 2020-07-13 um 11:28 p.m. schrieb Dave Airlie: > > > On Tue, 14 Jul 2020 at 13:14, Felix Kuehling > > > wrote: > > >> This allows exporting and importing buffers. The API

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-13 Thread Felix Kuehling
Am 2020-07-14 um 1:05 a.m. schrieb Li, Dennis: > [AMD Official Use Only - Internal Distribution Only] > > Hi, Felix, > amdgpu_gem_prime_export has different define in the old driver. I added > some comment in the below codes. > > Best Regards > Dennis Li > -Original Message- > From:

RE: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-13 Thread Li, Dennis
[AMD Official Use Only - Internal Distribution Only] Hi, Felix, amdgpu_gem_prime_export has different define in the old driver. I added some comment in the below codes. Best Regards Dennis Li -Original Message- From: amd-gfx On Behalf Of Felix Kuehling Sent: Tuesday, July 14, 20

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-13 Thread Dave Airlie
On Tue, 14 Jul 2020 at 14:09, Felix Kuehling wrote: > > Am 2020-07-13 um 11:28 p.m. schrieb Dave Airlie: > > On Tue, 14 Jul 2020 at 13:14, Felix Kuehling wrote: > >> This allows exporting and importing buffers. The API generates handles > >> that can be used with the HIP IPC API, i.e. big numbers

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-13 Thread Felix Kuehling
Am 2020-07-13 um 11:28 p.m. schrieb Dave Airlie: > On Tue, 14 Jul 2020 at 13:14, Felix Kuehling wrote: >> This allows exporting and importing buffers. The API generates handles >> that can be used with the HIP IPC API, i.e. big numbers rather than >> file descriptors. > First up why? I get the how

Re: [PATCH 1/1] drm/amdkfd: Add IPC API

2020-07-13 Thread Dave Airlie
On Tue, 14 Jul 2020 at 13:14, Felix Kuehling wrote: > > This allows exporting and importing buffers. The API generates handles > that can be used with the HIP IPC API, i.e. big numbers rather than > file descriptors. First up why? I get the how. > + * @share_handle is a 128 bit random number gen