Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _LINUX_DSSCOMP_H |
| 20 | #define _LINUX_DSSCOMP_H |
| 21 | enum omap_plane { |
| 22 | OMAP_DSS_GFX = 0, |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | OMAP_DSS_VIDEO1 = 1, |
| 25 | OMAP_DSS_VIDEO2 = 2, |
| 26 | OMAP_DSS_VIDEO3 = 3, |
| 27 | OMAP_DSS_WB = 4, |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | }; |
| 30 | enum omap_channel { |
| 31 | OMAP_DSS_CHANNEL_LCD = 0, |
| 32 | OMAP_DSS_CHANNEL_DIGIT = 1, |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | OMAP_DSS_CHANNEL_LCD2 = 2, |
| 35 | }; |
| 36 | enum omap_color_mode { |
| 37 | OMAP_DSS_COLOR_CLUT1 = 1 << 0, |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | OMAP_DSS_COLOR_CLUT2 = 1 << 1, |
| 40 | OMAP_DSS_COLOR_CLUT4 = 1 << 2, |
| 41 | OMAP_DSS_COLOR_CLUT8 = 1 << 3, |
| 42 | OMAP_DSS_COLOR_RGB12U = 1 << 4, |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | OMAP_DSS_COLOR_ARGB16 = 1 << 5, |
| 45 | OMAP_DSS_COLOR_RGB16 = 1 << 6, |
| 46 | OMAP_DSS_COLOR_RGB24U = 1 << 7, |
| 47 | OMAP_DSS_COLOR_RGB24P = 1 << 8, |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | OMAP_DSS_COLOR_YUV2 = 1 << 9, |
| 50 | OMAP_DSS_COLOR_UYVY = 1 << 10, |
| 51 | OMAP_DSS_COLOR_ARGB32 = 1 << 11, |
| 52 | OMAP_DSS_COLOR_RGBA32 = 1 << 12, |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | OMAP_DSS_COLOR_RGBX24 = 1 << 13, |
| 55 | OMAP_DSS_COLOR_RGBX32 = 1 << 13, |
| 56 | OMAP_DSS_COLOR_NV12 = 1 << 14, |
| 57 | OMAP_DSS_COLOR_RGBA16 = 1 << 15, |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 59 | OMAP_DSS_COLOR_RGBX12 = 1 << 16, |
| 60 | OMAP_DSS_COLOR_RGBX16 = 1 << 16, |
| 61 | OMAP_DSS_COLOR_ARGB16_1555 = 1 << 17, |
| 62 | OMAP_DSS_COLOR_XRGB15 = 1 << 18, |
| 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | OMAP_DSS_COLOR_XRGB16_1555 = 1 << 18, |
| 65 | }; |
| 66 | enum omap_dss_trans_key_type { |
| 67 | OMAP_DSS_COLOR_KEY_GFX_DST = 0, |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | OMAP_DSS_COLOR_KEY_VID_SRC = 1, |
| 70 | }; |
| 71 | enum omap_dss_display_state { |
| 72 | OMAP_DSS_DISPLAY_DISABLED = 0, |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | OMAP_DSS_DISPLAY_ACTIVE, |
| 75 | OMAP_DSS_DISPLAY_SUSPENDED, |
| 76 | OMAP_DSS_DISPLAY_TRANSITION, |
| 77 | }; |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | struct omap_video_timings { |
| 80 | __u16 x_res; |
| 81 | __u16 y_res; |
| 82 | __u32 pixel_clock; |
| 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 84 | __u16 hsw; |
| 85 | __u16 hfp; |
| 86 | __u16 hbp; |
| 87 | __u16 vsw; |
| 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 89 | __u16 vfp; |
| 90 | __u16 vbp; |
| 91 | }; |
| 92 | struct omap_dss_cconv_coefs { |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 94 | __s16 ry, rcr, rcb; |
| 95 | __s16 gy, gcr, gcb; |
| 96 | __s16 by, bcr, bcb; |
| 97 | __u16 full_range; |
| 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 99 | } __attribute__ ((aligned(4))); |
| 100 | struct omap_dss_cpr_coefs { |
| 101 | __s16 rr, rg, rb; |
| 102 | __s16 gr, gg, gb; |
| 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 104 | __s16 br, bg, bb; |
| 105 | }; |
| 106 | enum s3d_disp_type { |
| 107 | S3D_DISP_NONE = 0, |
| 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 109 | S3D_DISP_FRAME_SEQ, |
| 110 | S3D_DISP_ROW_IL, |
| 111 | S3D_DISP_COL_IL, |
| 112 | S3D_DISP_PIX_IL, |
| 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 114 | S3D_DISP_CHECKB, |
| 115 | S3D_DISP_OVERUNDER, |
| 116 | S3D_DISP_SIDEBYSIDE, |
| 117 | }; |
| 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 119 | enum s3d_disp_sub_sampling { |
| 120 | S3D_DISP_SUB_SAMPLE_NONE = 0, |
| 121 | S3D_DISP_SUB_SAMPLE_V, |
| 122 | S3D_DISP_SUB_SAMPLE_H, |
| 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 124 | }; |
| 125 | enum s3d_disp_order { |
| 126 | S3D_DISP_ORDER_L = 0, |
| 127 | S3D_DISP_ORDER_R = 1, |
| 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 129 | }; |
| 130 | enum s3d_disp_view { |
| 131 | S3D_DISP_VIEW_L = 0, |
| 132 | S3D_DISP_VIEW_R, |
| 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 134 | }; |
| 135 | struct s3d_disp_info { |
| 136 | enum s3d_disp_type type; |
| 137 | enum s3d_disp_sub_sampling sub_samp; |
| 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 139 | enum s3d_disp_order order; |
| 140 | unsigned int gap; |
| 141 | }; |
| 142 | enum omap_dss_ilace_mode { |
| 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 144 | OMAP_DSS_ILACE = (1 << 0), |
| 145 | OMAP_DSS_ILACE_SEQ = (1 << 1), |
| 146 | OMAP_DSS_ILACE_SWAP = (1 << 2), |
| 147 | OMAP_DSS_ILACE_NONE = 0, |
| 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 149 | OMAP_DSS_ILACE_IL_TB = OMAP_DSS_ILACE, |
| 150 | OMAP_DSS_ILACE_IL_BT = OMAP_DSS_ILACE | OMAP_DSS_ILACE_SWAP, |
| 151 | OMAP_DSS_ILACE_SEQ_TB = OMAP_DSS_ILACE_IL_TB | OMAP_DSS_ILACE_SEQ, |
| 152 | OMAP_DSS_ILACE_SEQ_BT = OMAP_DSS_ILACE_IL_BT | OMAP_DSS_ILACE_SEQ, |
| 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 154 | }; |
| 155 | struct dss2_vc1_range_map_info { |
| 156 | __u8 enable; |
| 157 | __u8 range_y; |
| 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 159 | __u8 range_uv; |
| 160 | } __attribute__ ((aligned(4))); |
| 161 | struct dss2_rect_t { |
| 162 | __s32 x; |
| 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 164 | __s32 y; |
| 165 | __u32 w; |
| 166 | __u32 h; |
| 167 | } __attribute__ ((aligned(4))); |
| 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 169 | struct dss2_decim { |
| 170 | __u8 min_x; |
| 171 | __u8 max_x; |
| 172 | __u8 min_y; |
| 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 174 | __u8 max_y; |
| 175 | } __attribute__ ((aligned(4))); |
| 176 | struct dss2_ovl_cfg { |
| 177 | __u16 width; |
| 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 179 | __u16 height; |
| 180 | __u32 stride; |
| 181 | enum omap_color_mode color_mode; |
| 182 | __u8 pre_mult_alpha; |
| 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 184 | __u8 global_alpha; |
| 185 | __u8 rotation; |
| 186 | __u8 mirror; |
| 187 | enum omap_dss_ilace_mode ilace; |
| 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 189 | struct dss2_rect_t win; |
| 190 | struct dss2_rect_t crop; |
| 191 | struct dss2_decim decim; |
| 192 | struct omap_dss_cconv_coefs cconv; |
| 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 194 | struct dss2_vc1_range_map_info vc1; |
| 195 | __u8 ix; |
| 196 | __u8 zorder; |
| 197 | __u8 enabled; |
| 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 199 | __u8 zonly; |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 200 | __u8 mgr_ix; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 201 | } __attribute__ ((aligned(4))); |
| 202 | enum omapdss_buffer_type { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 204 | OMAP_DSS_BUFTYPE_SDMA, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 205 | OMAP_DSS_BUFTYPE_TILER_8BIT, |
| 206 | OMAP_DSS_BUFTYPE_TILER_16BIT, |
| 207 | OMAP_DSS_BUFTYPE_TILER_32BIT, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 209 | OMAP_DSS_BUFTYPE_TILER_PAGE, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 210 | }; |
| 211 | struct dss2_ovl_info { |
| 212 | struct dss2_ovl_cfg cfg; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 214 | union { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 215 | struct { |
| 216 | void *address; |
| 217 | __u16 ba_type; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 219 | __u16 uv_type; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 220 | }; |
| 221 | struct { |
| 222 | __u32 ba; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 224 | __u32 uv; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 225 | }; |
| 226 | }; |
| 227 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 229 | struct dss2_mgr_info { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 230 | __u32 ix; |
| 231 | __u32 default_color; |
| 232 | enum omap_dss_trans_key_type trans_key_type; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 234 | __u32 trans_key; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 235 | struct omap_dss_cpr_coefs cpr_coefs; |
| 236 | __u8 trans_enabled; |
| 237 | __u8 interlaced; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 239 | __u8 alpha_blending; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 240 | __u8 cpr_enabled; |
| 241 | __u8 swap_rb; |
| 242 | } __attribute__ ((aligned(4))); |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 244 | enum dsscomp_setup_mode { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 245 | DSSCOMP_SETUP_MODE_APPLY = (1 << 0), |
| 246 | DSSCOMP_SETUP_MODE_DISPLAY = (1 << 1), |
| 247 | DSSCOMP_SETUP_MODE_CAPTURE = (1 << 2), |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 249 | DSSCOMP_SETUP_APPLY = DSSCOMP_SETUP_MODE_APPLY, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 250 | DSSCOMP_SETUP_DISPLAY = |
| 251 | DSSCOMP_SETUP_MODE_APPLY | DSSCOMP_SETUP_MODE_DISPLAY, |
| 252 | DSSCOMP_SETUP_CAPTURE = |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 254 | DSSCOMP_SETUP_MODE_APPLY | DSSCOMP_SETUP_MODE_CAPTURE, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 255 | DSSCOMP_SETUP_DISPLAY_CAPTURE = |
| 256 | DSSCOMP_SETUP_DISPLAY | DSSCOMP_SETUP_CAPTURE, |
| 257 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 259 | struct dsscomp_setup_mgr_data { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 260 | __u32 sync_id; |
| 261 | struct dss2_rect_t win; |
| 262 | enum dsscomp_setup_mode mode; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 264 | __u16 num_ovls; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 265 | __u16 get_sync_obj; |
| 266 | struct dss2_mgr_info mgr; |
| 267 | struct dss2_ovl_info ovls[0]; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 269 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 270 | struct dsscomp_check_ovl_data { |
| 271 | enum dsscomp_setup_mode mode; |
| 272 | struct dss2_mgr_info mgr; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 274 | struct dss2_ovl_info ovl; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 275 | }; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 276 | struct dsscomp_setup_dispc_data { |
| 277 | __u32 sync_id; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 279 | enum dsscomp_setup_mode mode; |
| 280 | __u16 num_ovls; |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 281 | __u16 num_mgrs; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 282 | __u16 get_sync_obj; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 284 | struct dss2_mgr_info mgrs[3]; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 285 | struct dss2_ovl_info ovls[5]; |
| 286 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 287 | struct dsscomp_wb_copy_data { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 289 | struct dss2_ovl_info ovl, wb; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 290 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 291 | struct dsscomp_display_info { |
| 292 | __u32 ix; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 294 | __u32 overlays_available; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 295 | __u32 overlays_owned; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 296 | enum omap_channel channel; |
| 297 | enum omap_dss_display_state state; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 299 | __u8 enabled; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 300 | struct omap_video_timings timings; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 301 | struct s3d_disp_info s3d_info; |
| 302 | struct dss2_mgr_info mgr; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 304 | }; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 305 | enum dsscomp_wait_phase { |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 306 | DSSCOMP_WAIT_PROGRAMMED = 1, |
| 307 | DSSCOMP_WAIT_DISPLAYED, |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 309 | DSSCOMP_WAIT_RELEASED, |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 310 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 311 | struct dsscomp_wait_data { |
| 312 | __u32 timeout_us; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 314 | enum dsscomp_wait_phase phase; |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 315 | }; |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 316 | #define DSSCOMP_SETUP_MGR _IOW('O', 128, struct dsscomp_setup_mgr_data) |
| 317 | #define DSSCOMP_CHECK_OVL _IOWR('O', 129, struct dsscomp_check_ovl_data) |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 319 | #define DSSCOMP_WB_COPY _IOW('O', 130, struct dsscomp_wb_copy_data) |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 320 | #define DSSCOMP_QUERY_DISPLAY _IOWR('O', 131, struct dsscomp_display_info) |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 321 | #define DSSCOMP_WAIT _IOW('O', 132, struct dsscomp_wait_data) |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 322 | #define DSSCOMP_SETUP_DISPC _IOW('O', 127, struct dsscomp_setup_dispc_data) |
Iliyan Malchev | 5598077 | 2011-08-04 15:41:25 -0700 | [diff] [blame] | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Erik Gilling | 9749753 | 2011-08-24 13:33:13 -0700 | [diff] [blame^] | 324 | #endif |
Iliyan Malchev | 3a5d668 | 2011-08-03 20:59:19 -0700 | [diff] [blame] | 325 | |