Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -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_OMAP_ION_H |
| 20 | #define _LINUX_OMAP_ION_H |
| 21 | #include <linux/types.h> |
| 22 | struct 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 Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 34 | enum { |
| 35 | OMAP_ION_HEAP_TYPE_TILER = ION_HEAP_TYPE_CUSTOM + 1, |
| 36 | }; |
Iliyan Malchev | 221595a | 2011-07-07 15:39:28 -0700 | [diff] [blame] | 37 | #define OMAP_ION_HEAP_TILER_MASK (1 << OMAP_ION_HEAP_TYPE_TILER) |
Iliyan Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 39 | enum { |
| 40 | OMAP_ION_TILER_ALLOC, |
| 41 | }; |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 42 | enum { |
Iliyan Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 44 | TILER_PIXEL_FMT_MIN = 0, |
| 45 | TILER_PIXEL_FMT_8BIT = 0, |
| 46 | TILER_PIXEL_FMT_16BIT = 1, |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 47 | TILER_PIXEL_FMT_32BIT = 2, |
Iliyan Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 49 | TILER_PIXEL_FMT_PAGE = 3, |
| 50 | TILER_PIXEL_FMT_MAX = 3 |
| 51 | }; |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 52 | enum { |
Iliyan Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 54 | OMAP_ION_HEAP_LARGE_SURFACES, |
| 55 | OMAP_ION_HEAP_TILER, |
| 56 | OMAP_ION_HEAP_SECURE_INPUT, |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 57 | }; |
Iliyan Malchev | f733ca0 | 2011-07-11 11:55:47 -0700 | [diff] [blame] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Rebecca Schultz Zavin | 1079eb1 | 2011-06-30 14:16:17 -0700 | [diff] [blame] | 59 | #endif |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 60 | |