My Project
Public Attributes | List of all members
mali_base_gpu_coherent_group_info Struct Reference

Coherency group information. More...

#include <mali_base_kernel.h>

Public Attributes

u32 num_groups
 
u32 num_core_groups
 
u32 coherency
 
u32 padding
 
struct mali_base_gpu_coherent_group group [BASE_MAX_COHERENT_GROUPS]
 

Detailed Description

Coherency group information.

Note that the sizes of the members could be reduced. However, the group member might be 8-byte aligned to ensure the u64 core_mask is 8-byte aligned, thus leading to wastage if the other members sizes were reduced.

The groups are sorted by core mask. The core masks are non-repeating and do not intersect.

Member Data Documentation

◆ coherency

u32 mali_base_gpu_coherent_group_info::coherency

Coherency features of the memory, accessed by gpu_mem_features methods

◆ group

struct mali_base_gpu_coherent_group mali_base_gpu_coherent_group_info::group[BASE_MAX_COHERENT_GROUPS]

Descriptors of coherent groups

◆ num_core_groups

u32 mali_base_gpu_coherent_group_info::num_core_groups

Number of core groups (coherent or not) in the GPU. Equivalent to the number of L2 Caches.

The GPU Counter dumping writes 2048 bytes per core group, regardless of whether the core groups are coherent or not. Hence this member is needed to calculate how much memory is required for dumping.

Note
Do not use it to work out how many valid elements are in the group[] member. Use num_groups instead.

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