Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-14 Thread Daniel Vetter
On Tue, Sep 14, 2021 at 2:58 PM Arnd Bergmann wrote: > On Tue, Sep 14, 2021 at 11:23 AM Daniel Vetter wrote: > > On Tue, Sep 14, 2021 at 11:09 AM Arnd Bergmann wrote: > > > > I can see two reasons why one would want to support a type (a) > > > interface even with the more versatile devices: > >

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-14 Thread Linus Walleij
On Mon, Sep 13, 2021 at 3:20 PM Arnd Bergmann wrote: > One straightforward hardware independent low-level API would > be the traditional BLAS GEMM call[1] for matrix multiplication > and its variants (integer, float, bfloat16, ...). What this (and subsequent posts from Dave and Daniel) show, is

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-14 Thread Arnd Bergmann
On Tue, Sep 14, 2021 at 11:23 AM Daniel Vetter wrote: > On Tue, Sep 14, 2021 at 11:09 AM Arnd Bergmann wrote: > > I can see two reasons why one would want to support a type (a) > > interface even with the more versatile devices: > > > > - It can be done in a generic way so that simply adding a k

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-14 Thread Laurent Pinchart
On Tue, Sep 14, 2021 at 11:23:56AM +0200, Daniel Vetter wrote: > On Tue, Sep 14, 2021 at 11:09 AM Arnd Bergmann wrote: > > On Tue, Sep 14, 2021 at 1:33 AM Dave Airlie wrote: > > > On Tue, 14 Sept 2021 at 08:05, Arnd Bergmann wrote: > > > > >On Mon, Sep 13, 2021 at 3:54 PM Daniel Vetter wrote: > > >

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-14 Thread Daniel Vetter
On Tue, Sep 14, 2021 at 11:09 AM Arnd Bergmann wrote: > > On Tue, Sep 14, 2021 at 1:33 AM Dave Airlie wrote: > > On Tue, 14 Sept 2021 at 08:05, Arnd Bergmann wrote: > > > >On Mon, Sep 13, 2021 at 3:54 PM Daniel Vetter > > > >wrote: > > > > I think BLAS are too high-level for these. Sure fore p

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-13 Thread Arnd Bergmann
>n Mon, Sep 13, 2021 at 3:54 PM Daniel Vetter wrote: > > One straightforward hardware independent low-level API would > > be the traditional BLAS GEMM call[1] for matrix multiplication > > and its variants (integer, float, bfloat16, ...). Most of the frameworks > > are able to use SGEMM to do th

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-13 Thread James Bottomley
On Mon, 2021-09-13 at 15:20 +0200, Arnd Bergmann wrote: > On Mon, Sep 13, 2021 at 12:51 AM Linus Walleij < > linus.wall...@linaro.org> wrote: > > On Sun, Sep 12, 2021 at 11:13 PM Dave Airlie > > wrote: > > > > > For userspace components as well these communities of experts > > > need to exist for

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-13 Thread Arnd Bergmann
On Mon, Sep 13, 2021 at 12:51 AM Linus Walleij wrote: > On Sun, Sep 12, 2021 at 11:13 PM Dave Airlie wrote: > > > For userspace components as well these communities of experts need to > > exist for each domain, and we need to encourage upstream first > > processes across the board for these split

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-13 Thread Daniel Vetter
On Mon, Sep 13, 2021 at 3:20 PM Arnd Bergmann wrote: > > On Mon, Sep 13, 2021 at 12:51 AM Linus Walleij > wrote: > > On Sun, Sep 12, 2021 at 11:13 PM Dave Airlie wrote: > > > > > For userspace components as well these communities of experts need to > > > exist for each domain, and we need to en

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-12 Thread Dave Airlie
On Mon, 13 Sept 2021 at 08:52, Linus Walleij wrote: > > On Sun, Sep 12, 2021 at 11:13 PM Dave Airlie wrote: > > > For userspace components as well these communities of experts need to > > exist for each domain, and we need to encourage upstream first > > processes across the board for these split

Re: [MAINTAINER SUMMIT] User-space requirements for accelerator drivers

2021-09-12 Thread Linus Walleij
On Sun, Sep 12, 2021 at 11:13 PM Dave Airlie wrote: > For userspace components as well these communities of experts need to > exist for each domain, and we need to encourage upstream first > processes across the board for these split kernel/userspace stacks. > > The habanalabs compiler backend is