aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pxp_dma.h
Commit message (Collapse)AuthorAge
* ENGR00291731 PXP: move pxp_irq_info definition from PXP dma to PXP deviceFancy Fang2014-04-16
| | | | | | | | struct pxp_irq_info is only used by PXP device driver, so it is unreasonable to define it in pxp_dma.h which will be included by EPDC, V4L2 PXP and PXP device driver. Signed-off-by: Fancy Fang <B47543@freescale.com>
* ENGR00291729 PXP: remove a mutex lock from pxp channelFancy Fang2014-04-16
| | | | | | | | | This mutex lock is no longer necessary in PXP dma driver. After the commit "ENGR00291400 PXP: Organize PXP task queue to be FIFO", protection fields can be protected by the spin lock in PXP channel now. Signed-off-by: Fancy Fang <B47543@freescale.com>
* ENGR00291658 PXP: allow PXP device users to submit multiple tasks before ↵Fancy Fang2014-04-16
| | | | | | | | | | | | start PXP After the commit "ffcad666548417ef21937e0a755d85ab922313a9" pushed, adding this support in PXP device driver is also necessary. This change allows users to submit more than one PXP tasks followd by only one wait for finished ioctl. It means that users can wait for more than one tasks done by calling one PXP_IOC_WAIT4CMPLT ioctl. Signed-off-by: Fancy Fang <B47543@freescale.com>
* ENGR00291400 PXP: Organize PXP task queue to be FIFOFancy Fang2014-04-16
| | | | | | | | | | | | The requested PXP tasks were handled based on channel unit. All the tasks in one channel were handled one by one, and the tasks in another channel only can get chance after all the tasks in previous channel were finished. So this may allow some channel occupies PXP hardware exclusively all the time, and other channels may never get PXP services. So this change makes the PXP task queue to be a FIFO to avoid this kind of unfair usage for PXP. Signed-off-by: Fancy Fang <B47543@freescale.com>
* ENGR00290664 PXP: allocate DMA TX descriptors on demand instead of in PXP ↵Fancy Fang2014-04-16
| | | | | | | | | | | | | initialization In previous PXP driver, the number of tx descriptors allocated for each channel is a constant 16 and they can only be allocated during PXP initialization. But since the driver allows users to queue more than one PXP tasks for each channel before issuing pending tasks, so in this case the descriptors may be not enough for some cases. Signed-off-by: Fancy Fang <B47543@freescale.com>
* ENGR00274035 UAPI: split the header file linux/pxp_dma.hRobby Cai2014-04-16
Move the user-space part in include/linux/pxp_dma.h into include/uapi/linux/pxp_dma.h due to the UAPI introduced. Signed-off-by: Robby Cai <R63905@freescale.com>