|
My Project
|
Public Attributes | |
| u32 | product_id |
| u16 | version_status |
| u16 | minor_revision |
| u16 | major_revision |
| u16 | padding |
| u32 | gpu_speed_mhz |
| u32 | gpu_freq_khz_max |
| u32 | gpu_freq_khz_min |
| u32 | log2_program_counter_size |
| u32 | texture_features [BASE_GPU_NUM_TEXTURE_FEATURES_REGISTERS] |
| u64 | gpu_available_memory_size |
| u64 mali_base_gpu_core_props::gpu_available_memory_size |
Theoretical maximum memory available to the GPU. It is unlikely that a client will be able to allocate all of this memory for their own purposes, but this at least provides an upper bound on the memory available to the GPU.
This is required for OpenCL's clGetDeviceInfo() call when CL_DEVICE_GLOBAL_MEM_SIZE is requested, for OpenCL GPU devices. The client will not be expecting to allocate anywhere near this value.
| u32 mali_base_gpu_core_props::gpu_freq_khz_max |
GPU clock max/min speed is required for computing best/worst case in tasks as job scheduling ant irq_throttling. (It is not specified in the Midgard Architecture).
| u32 mali_base_gpu_core_props::gpu_speed_mhz |
GPU clock speed is not specified in the Midgard Architecture, but is necessary for OpenCL's clGetDeviceInfo() function.
| u32 mali_base_gpu_core_props::log2_program_counter_size |
Size of the shader program counter, in bits.
| u16 mali_base_gpu_core_props::major_revision |
Major release number of the GPU. "R" part of an "RnPn" release number. 4 bit values (0-15).
| u16 mali_base_gpu_core_props::minor_revision |
Minor release number of the GPU. "P" part of an "RnPn" release number. 8 bit values (0-255).
| u32 mali_base_gpu_core_props::product_id |
Product specific value.
| u32 mali_base_gpu_core_props::texture_features[BASE_GPU_NUM_TEXTURE_FEATURES_REGISTERS] |
TEXTURE_FEATURES_x registers, as exposed by the GPU. This is a bitpattern where a set bit indicates that the format is supported.
Before using a texture format, it is recommended that the corresponding bit be checked.
| u16 mali_base_gpu_core_props::version_status |
Status of the GPU release. No defined values, but starts at 0 and increases by one for each release status (alpha, beta, EAC, etc.). 4 bit values (0-15).
1.8.13