Re: [PATCH v7 03/28] media: videobuf2: calculate restricted memory size

2024-07-20 Thread Hans Verkuil
On 20/07/2024 09:15, Yunfei Dong wrote: > Getting the physical address with sg_dma_address for restricted memory, > only return the first physical address size since sg may not be physical > continuous, then leading to the dmabuf size is small than buf size. Need > to bypass continuous checking for

[PATCH v7 03/28] media: videobuf2: calculate restricted memory size

2024-07-20 Thread Yunfei Dong
Getting the physical address with sg_dma_address for restricted memory, only return the first physical address size since sg may not be physical continuous, then leading to the dmabuf size is small than buf size. Need to bypass continuous checking for restricted memory. Signed-off-by: Yunfei Dong