Download Graphics Driver Manual for 2D core of S6E2D devices

Transcript
A P P L I C A T I O N
N O T E
Parameters
in
bufferAddr
Address of the provided buffer
in
bufferSize
Size (in Bytes) of the provided buffer.
Return values
MML_OK
Normal termination.
MML_ERR_ERP_INVALID_PARAMETER
An invalid value is set in an argument.
11.9.5.2 MM_ERROR mmlGdcErpSetMessageChannel
( MM_ERP_MESSAGE_DEST dest,
MM_ERP_MESSAGE_CHANNEL_PROP prop
)
Set channel for error messages. By default only MM_ERP_CH_STDOUT is ON.
Note
−
MM_ERP_CH_STDOUT and MM_ERP_CH_BUFFER can be en-/disabled. independently.
Parameters
in
in
dest
prop
Message channel selection:
−
MM_ERP_CH_STDOUT Messages are routed to stdout.
−
MM_ERP_CH_BUFFER Messages are routed to a buffer.
Setting of specified message channel:
−
MM_ERP_CH_OFF Set message channel OFF.
−
MM_ERP_CH_ON Set message channel ON.
Return values
MML_OK
Normal termination.
MML_ERR_ERP_INVALID_PARAMETER
An invalid value is set in an argument.
11.9.5.3 MM_ERROR mmlGdcErpSetMessageLevel ( MM_U32 moduleId,
MM_ERP_MESSAGE_LEVEL level )
Set level of error messages for an individual module. For example,
mmlGdcErpSetMessageLevel(MM_ERP_MODULE_ID_GDC_DISP_USER,
MM_ERP_LEVEL_INFO);
will print all messages (info,warning,error) that come from the display module. The module IDs are defined
for each driver component (see Module Id’s).
September 11, 2015, S6E2DH_AN709-00022-1v0-E
CONFIDENTIAL
149