define(`unpriv_gpu_ioctls', `{
  KBASE_IOCTL_VERSION_CHECK_JM
  KBASE_IOCTL_SET_FLAGS
  KBASE_IOCTL_JOB_SUBMIT
  KBASE_IOCTL_GET_GPUPROPS
  KBASE_IOCTL_POST_TERM
  KBASE_IOCTL_MEM_ALLOC
  KBASE_IOCTL_MEM_QUERY
  KBASE_IOCTL_MEM_FREE
  KBASE_IOCTL_DISJOINT_QUERY
  KBASE_IOCTL_GET_DDK_VERSION
  KBASE_IOCTL_MEM_JIT_INIT
  KBASE_IOCTL_MEM_SYNC
  KBASE_IOCTL_MEM_FIND_CPU_OFFSET
  KBASE_IOCTL_GET_CONTEXT_ID
  KBASE_IOCTL_MEM_COMMIT
  KBASE_IOCTL_MEM_ALIAS
  KBASE_IOCTL_MEM_IMPORT
  KBASE_IOCTL_MEM_FLAGS_CHANGE
  KBASE_IOCTL_STREAM_CREATE
  KBASE_IOCTL_FENCE_VALIDATE
  KBASE_IOCTL_MEM_PROFILE_ADD
  KBASE_IOCTL_SOFT_EVENT_UPDATE
  KBASE_IOCTL_STICKY_RESOURCE_MAP
  KBASE_IOCTL_STICKY_RESOURCE_UNMAP
  KBASE_IOCTL_MEM_FIND_GPU_START_AND_OFFSET
  KBASE_IOCTL_CS_QUEUE_REGISTER
  KBASE_IOCTL_CS_QUEUE_KICK
  KBASE_IOCTL_MEM_EXEC_INIT
  KBASE_IOCTL_CS_QUEUE_BIND
  KBASE_IOCTL_CS_QUEUE_REGISTER_EX
  KBASE_IOCTL_CS_QUEUE_TERMINATE
  KBASE_IOCTL_CS_QUEUE_GROUP_TERMINATE
  KBASE_IOCTL_CS_EVENT_SIGNAL
  KBASE_IOCTL_KCPU_QUEUE_CREATE
  KBASE_IOCTL_KCPU_QUEUE_DELETE
  KBASE_IOCTL_KCPU_QUEUE_ENQUEUE
  KBASE_IOCTL_CS_TILER_HEAP_INIT
  KBASE_IOCTL_CS_TILER_HEAP_TERM
  KBASE_IOCTL_GET_CPU_GPU_TIMEINFO
  KBASE_IOCTL_CS_GET_GLB_IFACE
  KBASE_IOCTL_VERSION_CHECK_CSF
  KBASE_IOCTL_CS_CPU_QUEUE_DUMP
  KBASE_IOCTL_CONTEXT_PRIORITY_CHECK
  KBASE_IOCTL_SET_LIMITED_CORE_COUNT
  KBASE_IOCTL_CS_QUEUE_GROUP_CREATE
  KBASE_IOCTL_MEM_ALLOC_EX
  KBASE_IOCTL_READ_USER_PAGE
  KBASE_IOCTL_QUEUE_GROUP_CLEAR_FAULTS
  KBASE_IOCTL_APC_REQUEST
  KBASE_IOCTL_BUFFER_LIVENESS_UPDATE
}')

define(`instrumentation_gpu_ioctls', `{
  KBASE_IOCTL_KINSTR_PRFCNT_ENUM_INFO
  KBASE_IOCTL_KINSTR_PRFCNT_SETUP
  KBASE_IOCTL_TLSTREAM_ACQUIRE
  KBASE_IOCTL_TLSTREAM_FLUSH
  KBASE_IOCTL_KINSTR_PRFCNT_CMD
  KBASE_IOCTL_KINSTR_PRFCNT_GET_SAMPLE
  KBASE_IOCTL_KINSTR_PRFCNT_PUT_SAMPLE
}')

define(`debug_gpu_ioctls', `{
  KBASE_IOCTL_HWCNT_SET
  KBASE_IOCTL_CINSTR_GWT_START
  KBASE_IOCTL_CINSTR_GWT_STOP
  KBASE_IOCTL_CINSTR_GWT_DUMP
}')

define(`deprecated_gpu_ioctls', `{
  KBASE_HWCNT_READER_GET_HWVER
  KBASE_HWCNT_READER_GET_BUFFER_SIZE
  KBASE_HWCNT_READER_DUMP
  KBASE_HWCNT_READER_CLEAR
  KBASE_HWCNT_READER_GET_BUFFER
  KBASE_HWCNT_READER_PUT_BUFFER
  KBASE_HWCNT_READER_SET_INTERVAL
  KBASE_HWCNT_READER_ENABLE_EVENT
  KBASE_HWCNT_READER_DISABLE_EVENT
  KBASE_HWCNT_READER_GET_API_VERSION
  KBASE_IOCTL_CS_QUEUE_GROUP_CREATE_1_6
}')
