Re: CMA usage in driver

2016-01-04 Thread Ran Shalit
On Sat, Jan 2, 2016 at 11:23 PM, Ran Shalit <ransha...@gmail.com> wrote:
> Hello,
>
> I made some reading on CMA usage with device driver, nut not quite sure yet.
> Do we need to call dma_declare_contiguous or does it get called from
> within videobuf2 ?
>
> Is there any example how to use CMA memory in v4l2 driver ?
>

Hi,

just to make the above question simpler:
from a v4l2 driver perspective, when need large contigious dma
allocations are required,
what should matter, and do we need to use CMA and how ?

Thank you for the time,
Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


CMA usage in driver

2016-01-02 Thread Ran Shalit
Hello,

I made some reading on CMA usage with device driver, nut not quite sure yet.
Do we need to call dma_declare_contiguous or does it get called from
within videobuf2 ?

Is there any example how to use CMA memory in v4l2 driver ?

Best Regards,
Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html