blob: 216533eb3e9742cb4bb893e5403b6d255ad2d08e [file] [log] [blame]
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -07001/****************************************************************************
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_OMAP_ION_H
20#define _LINUX_OMAP_ION_H
21#include <linux/types.h>
22struct omap_ion_tiler_alloc_data {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 size_t w;
25 size_t h;
26 int fmt;
27 unsigned int flags;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 struct ion_handle *handle;
30 size_t stride;
31 size_t offset;
32};
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Iliyan Malchevf733ca02011-07-11 11:55:47 -070034enum {
35 OMAP_ION_HEAP_TYPE_TILER = ION_HEAP_TYPE_CUSTOM + 1,
36};
Iliyan Malchev221595a2011-07-07 15:39:28 -070037#define OMAP_ION_HEAP_TILER_MASK (1 << OMAP_ION_HEAP_TYPE_TILER)
Iliyan Malchevf733ca02011-07-11 11:55:47 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070039enum {
40 OMAP_ION_TILER_ALLOC,
41};
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070042enum {
Iliyan Malchevf733ca02011-07-11 11:55:47 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070044 TILER_PIXEL_FMT_MIN = 0,
45 TILER_PIXEL_FMT_8BIT = 0,
46 TILER_PIXEL_FMT_16BIT = 1,
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070047 TILER_PIXEL_FMT_32BIT = 2,
Iliyan Malchevf733ca02011-07-11 11:55:47 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070049 TILER_PIXEL_FMT_PAGE = 3,
50 TILER_PIXEL_FMT_MAX = 3
51};
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070052enum {
Iliyan Malchevf733ca02011-07-11 11:55:47 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070054 OMAP_ION_HEAP_LARGE_SURFACES,
55 OMAP_ION_HEAP_TILER,
56 OMAP_ION_HEAP_SECURE_INPUT,
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070057};
Iliyan Malchevf733ca02011-07-11 11:55:47 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Rebecca Schultz Zavin1079eb12011-06-30 14:16:17 -070059#endif
Ben Cheng4b29af02012-03-07 16:14:53 -080060