My Project
Macros | Enumerations
User-side Base core APIs

Macros

#define BASE_CONTEXT_CREATE_ALLOWED_FLAGS
 
#define BASE_CONTEXT_CREATE_KERNEL_FLAGS   ((u32)BASE_CONTEXT_SYSTEM_MONITOR_SUBMIT_DISABLED)
 
#define BASEP_CONTEXT_FLAG_JOB_DUMP_DISABLED   ((u32)(1 << 31))
 

Enumerations

enum  base_context_create_flags { BASE_CONTEXT_CREATE_FLAG_NONE = 0, BASE_CONTEXT_CCTX_EMBEDDED = (1u << 0), BASE_CONTEXT_SYSTEM_MONITOR_SUBMIT_DISABLED = (1u << 1) }
 

Detailed Description

Macro Definition Documentation

◆ BASE_CONTEXT_CREATE_ALLOWED_FLAGS

#define BASE_CONTEXT_CREATE_ALLOWED_FLAGS
Value:
Definition: mali_base_kernel.h:1681
Definition: mali_base_kernel.h:1676

Bitpattern describing the base_context_create_flags that can be passed to base_context_init()

◆ BASE_CONTEXT_CREATE_KERNEL_FLAGS

#define BASE_CONTEXT_CREATE_KERNEL_FLAGS   ((u32)BASE_CONTEXT_SYSTEM_MONITOR_SUBMIT_DISABLED)

Bitpattern describing the base_context_create_flags that can be passed to the kernel

◆ BASEP_CONTEXT_FLAG_JOB_DUMP_DISABLED

#define BASEP_CONTEXT_FLAG_JOB_DUMP_DISABLED   ((u32)(1 << 31))

Private flag tracking whether job descriptor dumping is disabled

Enumeration Type Documentation

◆ base_context_create_flags

Flags to pass to ::base_context_init. Flags can be ORed together to enable multiple things.

These share the same space as BASEP_CONTEXT_FLAG_*, and so must not collide with them.

Enumerator
BASE_CONTEXT_CREATE_FLAG_NONE 

No flags set

BASE_CONTEXT_CCTX_EMBEDDED 

Base context is embedded in a cctx object (flag used for CINSTR software counter macros)

BASE_CONTEXT_SYSTEM_MONITOR_SUBMIT_DISABLED 

Base context is a 'System Monitor' context for Hardware counters.

One important side effect of this is that job submission is disabled.