File Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
255
13.25
ut_compatibility.h File Reference
This file defines some interfaces that are part of other drivers. The util library implements very simple instances of it
but they must be not used for software products. However it allows to run the sample applications.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "mml_gdc_surfman.h"
#include "mml_gdc_pixeng.h"
Enumerations
enum UTIL_VRAM_CONFIG {
UTIL_VRAM_CONFIG_VRAM_ONLY = 0x1U,
UTIL_VRAM_CONFIG_SDRAM_ONLY = 0x2U,
UTIL_VRAM_CONFIG_VRAM_PREFERRED = 0x3U
}
Functions
MM_ERROR mmlGdcSmGenSurfaceObjects (MM_U32 uCnt, MML_GDC_SURFACE
∗
pSurfaces)
MM_ERROR mmlGdcSmDeleteSurfaceObjects (MM_U32 uCnt, MML_GDC_SURFACE
∗
pSurfaces)
MM_ERROR mmlGdcPeGenContext (MML_GDC_PE_CONTEXT
∗
pPectx)
void mmlGdcPeDeleteContext (MML_GDC_PE_CONTEXT pectx)
void
∗
mmlOsLibcMalloc (size_t _Size)
void mmlOsLibcFree (void
∗
_Memory)
MM_ERROR mmlGdcVideoConfig (UTIL_VRAM_CONFIG config)
void
∗
mmlGdcVideoAlloc (MM_U32 size, MM_U32 alignment, MM_ADDR
∗
pAddr)
void mmlGdcVideoFree (void
∗
addr)
MM_ERROR mmlGdcVideoGetSize (MM_U32
∗
size)
MM_ERROR mmlGdcVideoGetFreeTotal (MM_U32
∗
size)
MM_ERROR mmlGdcVideoGetLargestBlock (MM_U32
∗
size)
MM_ERROR mmlGdcSyncCreate (MM_U32 uCnt, MML_GDC_SYNC
∗
pSyncObjects)
MM_ERROR mmlGdcSyncDelete (MM_U32 uCnt, MML_GDC_SYNC
∗
pSyncObjects)
13.25.1 Detailed Description
This file defines some interfaces that are part of other drivers. The util library implements very simple instances of it
but they must be not used for software products. However it allows to run the sample applications.