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