Home | History | Annotate | Download | only in ttm
      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 _TTM_PLACEMENT_H_
     20 #define _TTM_PLACEMENT_H_
     21 #define TTM_PL_SYSTEM 0
     22 #define TTM_PL_TT 1
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define TTM_PL_VRAM 2
     25 #define TTM_PL_PRIV0 3
     26 #define TTM_PL_PRIV1 4
     27 #define TTM_PL_PRIV2 5
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define TTM_PL_PRIV3 6
     30 #define TTM_PL_PRIV4 7
     31 #define TTM_PL_PRIV5 8
     32 #define TTM_PL_SWAPPED 15
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define TTM_PL_FLAG_SYSTEM (1 << TTM_PL_SYSTEM)
     35 #define TTM_PL_FLAG_TT (1 << TTM_PL_TT)
     36 #define TTM_PL_FLAG_VRAM (1 << TTM_PL_VRAM)
     37 #define TTM_PL_FLAG_PRIV0 (1 << TTM_PL_PRIV0)
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define TTM_PL_FLAG_PRIV1 (1 << TTM_PL_PRIV1)
     40 #define TTM_PL_FLAG_PRIV2 (1 << TTM_PL_PRIV2)
     41 #define TTM_PL_FLAG_PRIV3 (1 << TTM_PL_PRIV3)
     42 #define TTM_PL_FLAG_PRIV4 (1 << TTM_PL_PRIV4)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define TTM_PL_FLAG_PRIV5 (1 << TTM_PL_PRIV5)
     45 #define TTM_PL_FLAG_SWAPPED (1 << TTM_PL_SWAPPED)
     46 #define TTM_PL_MASK_MEM 0x0000FFFF
     47 #define TTM_PL_FLAG_CACHED (1 << 16)
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define TTM_PL_FLAG_UNCACHED (1 << 17)
     50 #define TTM_PL_FLAG_WC (1 << 18)
     51 #define TTM_PL_FLAG_SHARED (1 << 20)
     52 #define TTM_PL_FLAG_NO_EVICT (1 << 21)
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define TTM_PL_MASK_CACHING (TTM_PL_FLAG_CACHED |   TTM_PL_FLAG_UNCACHED |   TTM_PL_FLAG_WC)
     55 #define TTM_PL_MASK_MEMTYPE (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING)
     56 #define TTM_ACCESS_READ (1 << 0)
     57 #define TTM_ACCESS_WRITE (1 << 1)
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #endif
     60 
     61