omap_ion.h revision 221595a085fc8fa4eed2c4143402a085aa931aed
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> 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 */ 34#define OMAP_ION_HEAP_TILER_MASK (1 << OMAP_ION_HEAP_TYPE_TILER) 35enum { 36 OMAP_ION_TILER_ALLOC, 37}; 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39enum { 40 TILER_PIXEL_FMT_MIN = 0, 41 TILER_PIXEL_FMT_8BIT = 0, 42 TILER_PIXEL_FMT_16BIT = 1, 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 TILER_PIXEL_FMT_32BIT = 2, 45 TILER_PIXEL_FMT_PAGE = 3, 46 TILER_PIXEL_FMT_MAX = 3 47}; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49enum { 50 OMAP_ION_HEAP_LARGE_SURFACES, 51 OMAP_ION_HEAP_TILER, 52 OMAP_ION_HEAP_SECURE_INPUT, 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54}; 55#endif 56 57