Hi, Michael,
I don't think the GFP_DMA32 flag works with DmaBuf import. The buffer may be allocated by some other driver that is able to address more than 4G and imported into the RGA driver. In this case, limiting the allocations is not enough, but we would still need error handling in the map function for buffers that cannot be addressed by the RGA. I guess we need both, a limit for the allocation and error checking for the map.
Maybe you are right.. I haven't digged into v4l2-m2m API, so I'm not sure about
it. Seems we need others' help. Shengyu
Attachment:
OpenPGP_0xE3520CC91929C8E7.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature