Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.gpu.mali

PROTOCOLS

ArmMali

Defined in fuchsia.hardware.gpu.mali/mali.fidl

Low-level protocol between ARM Mali GPU driver and low-level SoC driver.

EnterProtectedMode

Cause the GPU to enter protected mode. All buses must be idle and the L2 cache cleared before executing this command.

Request

<EMPTY>

Response

NameType
status zx/status

FinishExitProtectedMode

Allows the GPU to access non-protected memory. Must only be called after StartExitProtectedMode. The RESET_COMPLETED bit in the GPU_IRQ_RAWSTAT register must be set while this is called.

Request

<EMPTY>

Response

NameType
status zx/status

GetProperties

Request

<EMPTY>

Response

NameType
properties MaliProperties

StartExitProtectedMode

Start the process of exiting protected mode. All buses must be idle and the L2 cache cleared before executing this command. The GPU will not be able to access any memory after this command is complete and will be reset. The driver must wait for the reset to complete then call FinishExitProtectedMode().

Request

<EMPTY>

Response

NameType
status zx/status

STRUCTS

MaliProperties

Defined in fuchsia.hardware.gpu.mali/mali.fidl

FieldTypeDescriptionDefault
supports_protected_mode bool No default
use_protected_mode_callbacks bool

If true, the driver should use Enter/StartExit/FinishExit protected mode callbacks rather than entering protected mode directly with register writes.

No default