Re: [PATCH v2 2/2] media: platform: Add Aspeed Video Engine driver

2018-09-14 Thread Hans Verkuil
On 09/14/2018 05:22 PM, Eddie James wrote: >>> +static int aspeed_video_allocate_cma(struct aspeed_video *video) >>> +{ >>> + video->srcs[0].virt = dma_alloc_coherent(video->dev, >>> +VE_SRC_BUFFER_SIZE, >>> +

Re: [PATCH v2 2/2] media: platform: Add Aspeed Video Engine driver

2018-09-14 Thread Hans Verkuil
On 09/14/2018 05:22 PM, Eddie James wrote: >>> +static int aspeed_video_allocate_cma(struct aspeed_video *video) >>> +{ >>> + video->srcs[0].virt = dma_alloc_coherent(video->dev, >>> +VE_SRC_BUFFER_SIZE, >>> +