Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
146
11.10
Error Codes
Error Codes of this driver.
Error codes for Config API
#define MML_ERR_GDC_CONFIG_INVALID_PARAMETER MM_ERRCODE(0x21008001)
#define MML_ERR_GDC_CONFIG_INTERNAL_ERROR MM_ERRCODE(0x21008002)
#define MML_ERR_GDC_CONFIG_INVALID_ADDRESS MM_ERRCODE(0x21008003)
Error codes for Display API
#define MML_ERR_GDC_DISP_DEVICE_NOT_FOUND MM_ERRCODE(0x21001001)
#define MML_ERR_GDC_DISP_DISPLAY_ALREADY_OPEN MM_ERRCODE(0x21001002)
#define MML_ERR_GDC_DISP_INVALID_ARG MM_ERRCODE(0x21001003)
#define MML_ERR_GDC_DISP_UNSUPPORTED_MODE MM_ERRCODE(0x21001004)
#define MML_ERR_GDC_DISP_DEVICE_INIT_FAILED MM_ERRCODE(0x21001005)
#define MML_ERR_GDC_DISP_DEVICE_CLOSE_FAILED MM_ERRCODE(0x21001006)
#define MML_ERR_GDC_DISP_OUT_OF_SYSTEM_MEMORY MM_ERRCODE(0x21001007)
#define MML_ERR_GDC_DISP_LAYER_ALREADY_USED MM_ERRCODE(0x21001008)
#define MML_ERR_GDC_DISP_WRONG_PIXEL_FORMAT MM_ERRCODE(0x21001009)
#define MML_ERR_GDC_DISP_WRONG_STRIDE MM_ERRCODE(0x21001011)
#define MML_ERR_GDC_DISP_WRONG_WINDOW MM_ERRCODE(0x21001012)
#define MML_ERR_GDC_DISP_WRONG_INDEX_WINDOW MM_ERRCODE(0x21001013)
#define MML_ERR_GDC_DISP_FAILED MM_ERRCODE(0x21001014)
#define MML_ERR_GDC_DISP_WRONG_YC_WINDOW MM_ERRCODE(0x21001015)
#define MML_ERR_GDC_DISP_WRONG_TCON_PARAMS MM_ERRCODE(0x21001016)
#define MML_ERR_GDC_DISP_DISPLAY_MODE_MISSMATCH MM_ERRCODE(0x21001017)
#define MML_ERR_GDC_DISP_INVALID_SCALING MM_ERRCODE(0x21001018)
#define MML_ERR_GDC_DISP_INVALID_BLENDING MM_ERRCODE(0x21001019)
#define MML_ERR_GDC_DISP_INVALID_CLUTDATA MM_ERRCODE(0x2100101a)
#define MML_ERR_GDC_DISP_INVALID_DIMENSION MM_ERRCODE(0x2100101c)
#define MML_ERR_GDC_DISP_DEV_BUSY MM_ERRCODE(0x21001020)
Error codes for Error Reporting API
#define MML_ERR_ERP_ALREADY_INITIALIZED MM_ERRCODE(0x2100F000)
#define MML_ERR_ERP_NOT_INITIALIZED MM_ERRCODE(0x2100F001)
#define MML_ERR_ERP_INVALID_PARAMETER MM_ERRCODE(0x2100F002)
Error codes for Pixel Engine API
#define MML_ERR_GDC_PE_OUT_OF_SPACE MM_ERRCODE(0x2100D001)
#define MML_ERR_GDC_PE_INVALID_CONTEXT MM_ERRCODE(0x2100D002)
#define MML_ERR_GDC_PE_INVALID_TARGET MM_ERRCODE(0x2100D003)
#define MML_ERR_GDC_PE_INVALID_SURFACE_OBJECT MM_ERRCODE(0x2100D004)
#define MML_ERR_GDC_PE_INVALID_ADDRESS MM_ERRCODE(0x2100D005)