On 08.05.2025 11:57, Christian König wrote:
> On 5/7/25 18:09, Marek Szyprowski wrote:
>> Use common wrappers operating directly on the struct sg_table objects to
>> fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*()
>> functions have to be called with the number of elements originally passed
>> to dma_map_sg_*() function, not the one returned in sgtable's nents.
>>
>> Fixes: 1ffe09590121 ("udmabuf: fix dma-buf cpu access")
>> CC: [email protected]
>> Signed-off-by: Marek Szyprowski <[email protected]>
>> Acked-by: Vivek Kasireddy <[email protected]>
> Reviewed-by: Christian König <[email protected]>
>
> Should I push this one to drm-misc-fixes for upstreaming?Yes, please. The other 2 patches have been taken by the media maintainers. Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland
