~ubuntu-branches/ubuntu/vivid/linux-fsl-imx51/vivid

« back to all changes in this revision

Viewing changes to drivers/media/video/pxp.h

  • Committer: Bazaar Package Importer
  • Author(s): Andy Whitcroft, Bryan Wu, Heiko Carstens, Kay Sievers, Upstream Kernel Changes
  • Date: 2010-01-27 10:30:45 UTC
  • Revision ID: james.westby@ubuntu.com-20100127103045-ocbuz94jsh104pgx
Tags: 2.6.31-603.5
[ Bryan Wu ]

* [Config] Enable devtmpfs for fsl-imx51 kernel
  - LP: #512321
* SAUCE: IMX51: only export NEON flag to userspace on Freescale iMX51
  rev3.x or later silicon
  - LP: #507416

[ Heiko Carstens ]

* (pre-stable) driver-core: fix devtmpfs crash on s390
  - LP: #512370

[ Kay Sievers ]

* (pre-stable) Driver-Core: devtmpfs - set root directory mode to 0755
  - LP: #512370

[ Upstream Kernel Changes ]

* ENGR00119069 V4L2 capture: Do not change current crop setting for tvin.
* ENGR00118830 Update NAND driver scan scheme to support new nand type
* ENGR00118946 imx23: enable wake up from USB 5V
* ENGR00119150 Bluetooth: Handsfree audio has noise
* ENGR00118610 MX23: Add double buffering for PXP
* ENGR00118872 Write bootstream to kernel by kobs with BCH ECC
* ENGR00119199: ipu: add clock nodes for pixel clocks
* ENGR00119202: Fix DVFS-PER related bugs.
* ENGR00119203 MX23: Correct VDDD value for CPU frequency 360 MHz
* ENGR00119004 v4l2 output: fix kernel dump
* ENGR00119242 Add wait timeout support to void dead loop in NAND driver
* ENGR00119263: MX51 : Fix pll_set_rate function
* ENGR00119075 fix iMX23 USB initialization cause wrong power status
* ENGR00118892 MX23: iMX233 disable lcd clock when LCD off
* ENGR00119063 MX23: fix system halt rather than reboot when watchdog
  timeout
* ENGR00119324 Put GPMI NAND flash scan scheme code to the common NAND
  directory
* ENGR00114151 800x600-16@60 video not play correctly
* ENGR00119275 ipuv3: dmfc size control
* ENGR00119443 [MX23_BSP] GPMI driver computes wrong block size for
  K9GAG08U0D
* ENGR00119136 ipuv3: support 720p for ipu lib
* ENGR00119274 TVE: HDTV can not work
* ENGR00119104 MX23 ALSA: Resolve the problem of record from line-in
* ENGR00119081 V4l2 capture:Support NV12 output pixel format for still
  capture
* ENGR00119179 TVE: fix system hang for tvout
* ENGR00119070 IPUv3 FB:Support DP local alpha in pixel
* ENGR00119432 MX35 system can't re-boot up when SD/MMC boot is used.
* ENGR00119296 Fix iMX23 display abnormal when change frequency
* ENGR00119484 Update NFC INT wait timeout value to 1s
* ENGR00119504 MX25: Change nand partition for bootloader to 3M byte
* ENGR00119532 MX35: Change nand partition for bootloader to 3M bytes
* ENGR00119305 imx23: fix ethernet standby issue
* ENGR00115370 ipuv3: add display control
* ENGR00119531 ipuv3: dmfc setting restore during resume
* Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev
  - LP: #512321

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * http://www.gnu.org/copyleft/gpl.html
17
17
 */
18
18
 
 
19
struct pxp_overlay_registers {
 
20
        u32 ol;
 
21
        u32 olsize;
 
22
        u32 olparam;
 
23
        u32 olparam2;
 
24
};
 
25
 
 
26
/* Registers feed for PXP_NEXT */
 
27
struct pxp_registers {
 
28
        u32 ctrl;
 
29
        u32 rgbbuf;
 
30
        u32 rgbbuf2;
 
31
        u32 rgbsize;
 
32
        u32 s0buf;
 
33
        u32 s0ubuf;
 
34
        u32 s0vbuf;
 
35
        u32 s0param;
 
36
        u32 s0background;
 
37
        u32 s0crop;
 
38
        u32 s0scale;
 
39
        u32 s0offset;
 
40
        u32 s0colorkeylow;
 
41
        u32 s0colorkeyhigh;
 
42
        u32 olcolorkeylow;
 
43
        u32 olcolorkeyhigh;
 
44
 
 
45
        struct pxp_overlay_registers ol0;
 
46
        struct pxp_overlay_registers ol1;
 
47
        struct pxp_overlay_registers ol2;
 
48
        struct pxp_overlay_registers ol3;
 
49
        struct pxp_overlay_registers ol4;
 
50
        struct pxp_overlay_registers ol5;
 
51
        struct pxp_overlay_registers ol6;
 
52
        struct pxp_overlay_registers ol7;
 
53
};
 
54
 
 
55
struct pxp_buffer {
 
56
        /* Must be first! */
 
57
        struct videobuf_buffer vb;
 
58
        struct list_head queue;
 
59
};
 
60
 
19
61
struct pxps {
20
62
        struct platform_device *pdev;
21
63
        struct resource *res;
22
64
        int irq;
23
65
        void __iomem *regs;
24
66
 
 
67
        struct work_struct work;
 
68
        struct workqueue_struct *workqueue;
25
69
        spinlock_t lock;
26
70
        struct mutex mutex;
27
71
        int users;
31
75
        struct videobuf_queue s0_vbq;
32
76
        struct videobuf_buffer *active;
33
77
        struct list_head outq;
 
78
        struct list_head nextq;
34
79
 
35
80
        int output;
36
81
        u32 *outb;
61
106
        int local_alpha_state;
62
107
        int s1_chromakey_state;
63
108
        u32 s1_chromakey;
 
109
 
 
110
        /* PXP_NEXT */
 
111
        u32 regs_phys;
 
112
        struct pxp_registers *regs_virt;
 
113
        wait_queue_head_t done;
 
114
        int next_queue_ended;
64
115
};
65
116
 
66
117
struct pxp_data_format {