1 # known used gpu ioctls 2 # 0xc00c0902 3 # 0x400c0907 4 # 0xc0080913 5 # 0x40040914 6 # 0xc01c0915 7 # 0x40100917 8 # 0x40040921 9 # 0x400c0932 10 # 0xc0140933 11 # 0xc01c0934 12 # 0xc0080935 13 # 0xc0280936 14 # 0x00000937 15 # 0x00000938 16 # 0x00000939 17 # 0xc02c093d 18 define(`gpu_unused_ioctls', `{ 19 IOCTL_KGSL_DEVICE_WAITTIMESTAMP 20 IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS 21 IOCTL_KGSL_CMDSTREAM_READTIMESTAMP_OLD 22 IOCTL_KGSL_CMDSTREAM_READTIMESTAMP 23 IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP 24 IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP_OLD 25 IOCTL_KGSL_CMDSTREAM_READTIMESTAMP_CTXTID 26 IOCTL_KGSL_SHAREDMEM_FROM_PMEM 27 IOCTL_KGSL_CFF_USER_EVENT 28 IOCTL_KGSL_DRAWCTXT_BIND_GMEM_SHADOW 29 IOCTL_KGSL_SHAREDMEM_FROM_VMALLOC 30 IOCTL_KGSL_SHAREDMEM_FLUSH_CACHE 31 IOCTL_KGSL_DRAWCTXT_SET_BIN_BASE_OFFSET 32 IOCTL_KGSL_CMDWINDOW_WRITE 33 IOCTL_KGSL_GPUMEM_ALLOC 34 IOCTL_KGSL_CFF_SYNCMEM 35 IOCTL_KGSL_TIMESTAMP_EVENT_OLD 36 IOCTL_KGSL_GPUMEM_SYNC_CACHE 37 IOCTL_KGSL_PERFCOUNTER_QUERY 38 IOCTL_KGSL_PERFCOUNTER_READ 39 IOCTL_KGSL_GPUMEM_SYNC_CACHE_BULK 40 }') 41 42 define(`gpu_used_ioctls', `{ 43 IOCTL_KGSL_DEVICE_GETPROPERTY 44 IOCTL_KGSL_DEVICE_WAITTIMESTAMP_CTXTID 45 IOCTL_KGSL_DRAWCTXT_CREATE 46 IOCTL_KGSL_DRAWCTXT_DESTROY 47 IOCTL_KGSL_MAP_USER_MEM 48 IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP_CTXTID 49 IOCTL_KGSL_SHAREDMEM_FREE 50 IOCTL_KGSL_SETPROPERTY 51 IOCTL_KGSL_TIMESTAMP_EVENT 52 IOCTL_KGSL_GPUMEM_ALLOC_ID 53 IOCTL_KGSL_GPUMEM_FREE_ID 54 IOCTL_KGSL_GPUMEM_GET_INFO 55 IOCTL_KGSL_GPUMEM_SYNC_CACHE 56 IOCTL_KGSL_PERFCOUNTER_GET 57 IOCTL_KGSL_PERFCOUNTER_PUT 58 IOCTL_KGSL_SUBMIT_COMMANDS 59 }') 60