Re: [PATCH] V4L/DVB: v4l: Add driver for Marvell PXA910 CCIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 10, 2011 at 6:47 AM, Jonathan Corbet <corbet@xxxxxxx> wrote:
> Hi, Kassey,
>
> I've been looking at the driver some to understand how you're using the
> hardware.  One quick question:
>
>> The driver is based on soc-camera + videobuf2 frame
>> work, and only USERPTR is supported.
>
> Since you're limited to contiguous DMA (does the PXA910 even support
> scatter/gather mode?),

     PXA910 supports scatter/gather mode, but we did not use that.

 USERPTR is going to be very limiting.  Is the
> application mapping I/O memory elsewhere in the system with the
> expectation of having the video frames go directly there?  Could you tell
> me how that works?  I'd like to understand the use case here.
>
USERPTR is popular on Android Camera HAL implementation..

we alloc memory in user space by PMEM, and QBUF to driver,
once DMA finished the buffer, we DQBUF and send the buffer address to
display DMA directly.
or doing encode.


MMAP can not offer big size memory, for 720P resolution, when running Android.

> FWIW, I believe that videobuf2 would support the MMAP mode with no
> additional effort on your part; any reason why you haven't enabled that?
>
you are right.
I just enabled it on videobuf, and I will try to enable it on videobuf2, too.
thanks.

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



-- 
Best regards
Kassey
Application Processor Systems Engineering, Marvell Technology Group Ltd.
Shanghai, China.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux