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

Memory aliasing info. More...

#include <mali_base_kernel.h>

Public Attributes

base_mem_handle handle
 
u64 offset
 
u64 length
 

Detailed Description

Memory aliasing info.

Describes a memory handle to be aliased. A subset of the handle can be chosen for aliasing, given an offset and a length. A special handle BASE_MEM_WRITE_ALLOC_PAGES_HANDLE is used to represent a region where a special page is mapped with a write-alloc cache setup, typically used when the write result of the GPU isn't needed, but the GPU must write anyway.

Offset and length are specified in pages. Offset must be within the size of the handle. Offset+length must not overrun the size of the handle.

Handle to alias, can be BASE_MEM_WRITE_ALLOC_PAGES_HANDLE Offset within the handle to start aliasing from, in pages. Not used with BASE_MEM_WRITE_ALLOC_PAGES_HANDLE. Length to alias, in pages. For BASE_MEM_WRITE_ALLOC_PAGES_HANDLE specifies the number of times the special page is needed.


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