Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-25 Thread Daniel Stone
Hi, On Fri, 25 Aug 2023 at 08:56, Hsia-Jun Li wrote: > On 8/25/23 15:40, Pekka Paalanen wrote: > > if userspace cannot access things like an image's HDR metadata, then it > > will be impossible for userspace to program KMS to have the correct > > color pipeline, or to send intended HDR metadata t

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-25 Thread Pekka Paalanen
On Fri, 25 Aug 2023 15:56:18 +0800 Hsia-Jun Li wrote: > On 8/25/23 15:40, Pekka Paalanen wrote: > > Subject: > > Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers > > From: > > Pekka Paalanen > > Date: > > 8/25/23, 15:40 > > > > T

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-25 Thread Hsia-Jun Li
On 8/25/23 15:40, Pekka Paalanen wrote: Subject: Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers From: Pekka Paalanen Date: 8/25/23, 15:40 To: Hsia-Jun Li CC: Tomasz Figa , linux...@kvack.org, dri-devel@lists.freedesktop.org, Linux Media Mailing List , hu...@google.com, a

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-25 Thread Pekka Paalanen
On Wed, 23 Aug 2023 15:11:23 +0800 Hsia-Jun Li wrote: > On 8/23/23 12:46, Tomasz Figa wrote: > > CAUTION: Email originated externally, do not click links or open > > attachments unless you recognize the sender and know the content is safe. > > > > > > Hi Hsia-Jun, > > > > On Tue, Aug 22, 2023

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-25 Thread Hsia-Jun Li
On 8/23/23 21:15, Tomasz Figa wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Aug 23, 2023 at 4:11 PM Hsia-Jun Li wrote: On 8/23/23 12:46, Tomasz Figa wrote: CAUTION: Email origin

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-23 Thread Tomasz Figa
On Wed, Aug 23, 2023 at 4:11 PM Hsia-Jun Li wrote: > > > > On 8/23/23 12:46, Tomasz Figa wrote: > > CAUTION: Email originated externally, do not click links or open > > attachments unless you recognize the sender and know the content is safe. > > > > > > Hi Hsia-Jun, > > > > On Tue, Aug 22, 2023

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-23 Thread Hsia-Jun Li
On 8/23/23 12:46, Tomasz Figa wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Hsia-Jun, On Tue, Aug 22, 2023 at 8:14 PM Hsia-Jun Li wrote: Hello I would like to introduce a usage of SHM

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-22 Thread Tomasz Figa
Hi Hsia-Jun, On Tue, Aug 22, 2023 at 8:14 PM Hsia-Jun Li wrote: > > Hello > > I would like to introduce a usage of SHMEM slimier to DMA-buf, the major > purpose of that is sharing metadata or just a pure container for cross > drivers. > > We need to exchange some sort of metadata between drivers,

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-22 Thread Hsia-Jun Li
On 8/23/23 03:55, Nicolas Dufresne wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. Hi, Le mardi 22 août 2023 à 19:14 +0800, Hsia-Jun Li a écrit : Hello I would like to introduce a usage of S

Re: [RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-22 Thread Nicolas Dufresne
Hi, Le mardi 22 août 2023 à 19:14 +0800, Hsia-Jun Li a écrit : > Hello > > I would like to introduce a usage of SHMEM slimier to DMA-buf, the major > purpose of that is sharing metadata or just a pure container for cross > drivers. > > We need to exchange some sort of metadata between drivers,

[RFC]: shmem fd for non-DMA buffer sharing cross drivers

2023-08-22 Thread Hsia-Jun Li
Hello I would like to introduce a usage of SHMEM slimier to DMA-buf, the major purpose of that is sharing metadata or just a pure container for cross drivers. We need to exchange some sort of metadata between drivers, likes dynamic HDR data between video4linux2 and DRM. Or the graphics frame