Re: [RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-13 Thread Oded Gabbay
On Sat, Nov 12, 2022 at 12:04 AM Christopher Friedt wrote: > > Hi Oded, > > On Sun, Nov 6, 2022 at 4:03 PM Oded Gabbay wrote: > > The patches are in the following repo: > > https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/accel.git/log/?h=accel_v3 > > > > As in v2, The HEAD of that branch

Re: [RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-11 Thread Christopher Friedt
Hi Oded, On Sun, Nov 6, 2022 at 4:03 PM Oded Gabbay wrote: > The patches are in the following repo: > https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/accel.git/log/?h=accel_v3 > > As in v2, The HEAD of that branch is a commit adding a dummy driver that > registers an accel device using

Re: [RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-07 Thread Matthew Wilcox
On Mon, Nov 07, 2022 at 09:07:28AM -0700, Jeffrey Hugo wrote: > > Another important change is that I have reverted back to use IDR for minor > > handling instead of xarray. This is because I have found that xarray doesn't > > handle well the scenario where you allocate a NULL entry and then

Re: [RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-07 Thread Jason Gunthorpe
On Sun, Nov 06, 2022 at 11:02:22PM +0200, Oded Gabbay wrote: > Another important change is that I have reverted back to use IDR for minor > handling instead of xarray. This is because I have found that xarray doesn't > handle well the scenario where you allocate a NULL entry and then exchange it >

Re: [RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-07 Thread Jeffrey Hugo
On 11/6/2022 2:02 PM, Oded Gabbay wrote: This is the third version of the RFC following the comments given on the second version, but more importantly, following testing done by the VPU driver people and myself. We found out that there is a circular dependency between DRM and accel. DRM calls

[RFC PATCH v3 0/3] new subsystem for compute accelerator devices

2022-11-06 Thread Oded Gabbay
This is the third version of the RFC following the comments given on the second version, but more importantly, following testing done by the VPU driver people and myself. We found out that there is a circular dependency between DRM and accel. DRM calls accel exported symbols during init and when