Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Christian König
Am 15.02.23 um 14:52 schrieb Paul Cercueil: Le mercredi 15 février 2023 à 14:46 +0100, Christian König a écrit : Am 15.02.23 um 14:24 schrieb Paul Cercueil: Hi Christian, Le mercredi 15 février 2023 à 13:58 +0100, Christian König a écrit : Hi Paul, Am 15.02.23 um 11:48 schrieb Paul

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Le mercredi 15 février 2023 à 14:46 +0100, Christian König a écrit : > Am 15.02.23 um 14:24 schrieb Paul Cercueil: > > Hi Christian, > > > > Le mercredi 15 février 2023 à 13:58 +0100, Christian König a > > écrit : > > > Hi Paul, > > > > > > Am 15.02.23 um 11:48 schrieb Paul Cercueil: > > > > Hi,

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Christian König
Am 15.02.23 um 14:24 schrieb Paul Cercueil: Hi Christian, Le mercredi 15 février 2023 à 13:58 +0100, Christian König a écrit : Hi Paul, Am 15.02.23 um 11:48 schrieb Paul Cercueil: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Hi Christian, Le mercredi 15 février 2023 à 13:58 +0100, Christian König a écrit : > Hi Paul, > > Am 15.02.23 um 11:48 schrieb Paul Cercueil: > > Hi, > > > > I am working on adding support for DMABUFs in the IIO subsystem. > > > > One thing we want there, is the ability to specify the number

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Le mercredi 15 février 2023 à 13:13 +0100, Maarten Lankhorst a écrit : > > On 2023-02-15 13:00, Paul Cercueil wrote: > > Hi Maarten, > > > > Le mercredi 15 février 2023 à 12:52 +0100, Maarten Lankhorst a > > écrit : > > > Hey, > > > > > > On 2023-02-15 12:47, Paul Cercueil wrote: > > > > Hi

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Christian König
Hi Paul, Am 15.02.23 um 11:48 schrieb Paul Cercueil: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability to specify the number of bytes to transfer (while still defaulting to the DMABUF size). Since dma_buf_map_attachment() returns a

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
On 2023-02-15 13:00, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:52 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 12:47, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 11:48, Paul

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Hi Maarten, Le mercredi 15 février 2023 à 12:52 +0100, Maarten Lankhorst a écrit : > Hey, > > On 2023-02-15 12:47, Paul Cercueil wrote: > > Hi Maarten, > > > > Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a > > écrit : > > > Hey, > > > > > > On 2023-02-15 11:48, Paul Cercueil

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
Hey, On 2023-02-15 12:47, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 11:48, Paul Cercueil wrote: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability to

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Hi Maarten, Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a écrit : > Hey, > > On 2023-02-15 11:48, Paul Cercueil wrote: > > Hi, > > > > I am working on adding support for DMABUFs in the IIO subsystem. > > > > One thing we want there, is the ability to specify the number of > >

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
Hey, On 2023-02-15 11:48, Paul Cercueil wrote: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability to specify the number of bytes to transfer (while still defaulting to the DMABUF size). Since dma_buf_map_attachment() returns a

Question: partial transfers of DMABUFs

2023-02-15 Thread Paul Cercueil
Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability to specify the number of bytes to transfer (while still defaulting to the DMABUF size). Since dma_buf_map_attachment() returns a sg_table, I basically have two options, and I can't