My Project
Public Attributes | List of all members

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
 

Member Data Documentation

◆ 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.

◆ gpu_freq_khz_max

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).

◆ gpu_speed_mhz

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.

◆ log2_program_counter_size

u32 mali_base_gpu_core_props::log2_program_counter_size

Size of the shader program counter, in bits.

◆ major_revision

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).

◆ minor_revision

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).

◆ product_id

u32 mali_base_gpu_core_props::product_id

Product specific value.

◆ texture_features

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.

◆ version_status

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).


The documentation for this struct was generated from the following file: