GPU APIs. More...
Go to the source code of this file.
Variables | |
const uint8_t | DLCODE_BOOTUP [12] |
GPU APIs.
MIT License
Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file Gpu_Hal.cpp.
void BootupConfig | ( | EVE_HalContext * | host | ) |
Definition at line 1186 of file Gpu_Hal.cpp.
void EVE_Cmd_waitFlush | ( | EVE_HalContext * | phost | ) |
Wait for the command buffer to fully empty. Returns false in case a coprocessor fault occurred
Definition at line 775 of file Gpu_Hal.cpp.
uint8_t EVE_Cmd_waitFlush_status | ( | EVE_HalContext * | host | ) |
Definition at line 829 of file Gpu_Hal.cpp.
uint32_t Fifo_GetFreeSpace | ( | EVE_HalContext * | host, |
Fifo_t * | pFifo | ||
) |
Definition at line 1111 of file Gpu_Hal.cpp.
void Fifo_Init | ( | Fifo_t * | pFifo, |
uint32_t | StartAddress, | ||
uint32_t | Length, | ||
uint32_t | HWReadRegAddress, | ||
uint32_t | HWWriteRegAddress | ||
) |
Definition at line 982 of file Gpu_Hal.cpp.
void Fifo_Update | ( | EVE_HalContext * | host, |
Fifo_t * | pFifo | ||
) |
Definition at line 1001 of file Gpu_Hal.cpp.
uint32_t Fifo_Write | ( | EVE_HalContext * | host, |
Fifo_t * | pFifo, | ||
uint8_t * | buffer, | ||
uint32_t | NumbytetoWrite | ||
) |
Definition at line 1014 of file Gpu_Hal.cpp.
void Fifo_Write32 | ( | EVE_HalContext * | host, |
Fifo_t * | pFifo, | ||
uint32_t | WriteWord | ||
) |
Definition at line 1069 of file Gpu_Hal.cpp.
void Fifo_WriteWait | ( | EVE_HalContext * | host, |
Fifo_t * | pFifo, | ||
uint8_t * | buffer, | ||
uint32_t | Numbyte | ||
) |
Definition at line 1082 of file Gpu_Hal.cpp.
void Gpu_ClearScreen | ( | EVE_HalContext * | host | ) |
Definition at line 1162 of file Gpu_Hal.cpp.
void Gpu_ClockSelect | ( | EVE_HalContext * | host, |
GPU_PLL_SOURCE_T | pllsource | ||
) |
Definition at line 556 of file Gpu_Hal.cpp.
int32_t Gpu_ClockTrimming | ( | EVE_HalContext * | host, |
int32_t | LowFreq | ||
) |
Definition at line 1139 of file Gpu_Hal.cpp.
uint16_t Gpu_Cmdfifo_Freespace | ( | EVE_HalContext * | host | ) |
Definition at line 697 of file Gpu_Hal.cpp.
void Gpu_CoreReset | ( | EVE_HalContext * | host | ) |
Definition at line 589 of file Gpu_Hal.cpp.
uint32_t Gpu_CurrentFrequency | ( | EVE_HalContext * | host | ) |
Definition at line 536 of file Gpu_Hal.cpp.
void Gpu_Hal_CheckCmdBuffer | ( | EVE_HalContext * | host, |
uint32_t | count | ||
) |
Definition at line 759 of file Gpu_Hal.cpp.
void Gpu_Hal_Close | ( | EVE_HalContext * | host | ) |
Definition at line 99 of file Gpu_Hal.cpp.
Definition at line 902 of file Gpu_Hal.cpp.
void Gpu_Hal_DeInit | ( | ) |
Definition at line 111 of file Gpu_Hal.cpp.
void Gpu_Hal_DLSwap | ( | EVE_HalContext * | host, |
uint8_t | DL_Swap_Type | ||
) |
Definition at line 496 of file Gpu_Hal.cpp.
void Gpu_Hal_EndTransfer | ( | EVE_HalContext * | host | ) |
Definition at line 244 of file Gpu_Hal.cpp.
bool_t Gpu_Hal_Init | ( | Gpu_HalInit_t * | halinit | ) |
Definition at line 59 of file Gpu_Hal.cpp.
void Gpu_Hal_LoadImageToMemory | ( | EVE_HalContext * | host, |
char8_t * | fileName, | ||
uint32_t | destination, | ||
uint8_t | type | ||
) |
Definition at line 1361 of file Gpu_Hal.cpp.
bool_t Gpu_Hal_Open | ( | EVE_HalContext * | host | ) |
Definition at line 72 of file Gpu_Hal.cpp.
void Gpu_Hal_Powercycle | ( | EVE_HalContext * | host, |
bool_t | up | ||
) |
Definition at line 408 of file Gpu_Hal.cpp.
uint16_t Gpu_Hal_Rd16 | ( | EVE_HalContext * | host, |
uint32_t | addr | ||
) |
Definition at line 303 of file Gpu_Hal.cpp.
uint32_t Gpu_Hal_Rd32 | ( | EVE_HalContext * | host, |
uint32_t | addr | ||
) |
Definition at line 320 of file Gpu_Hal.cpp.
uint8_t Gpu_Hal_Rd8 | ( | EVE_HalContext * | host, |
uint32_t | addr | ||
) |
Definition at line 286 of file Gpu_Hal.cpp.
void Gpu_Hal_RdMem | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
uint8_t * | buffer, | ||
uint32_t | length | ||
) |
Definition at line 474 of file Gpu_Hal.cpp.
void Gpu_Hal_ResetCmdFifo | ( | EVE_HalContext * | host | ) |
Definition at line 865 of file Gpu_Hal.cpp.
void Gpu_Hal_ResetDLBuffer | ( | EVE_HalContext * | host | ) |
Definition at line 891 of file Gpu_Hal.cpp.
void Gpu_Hal_Sleep | ( | uint32_t | ms | ) |
Definition at line 525 of file Gpu_Hal.cpp.
void Gpu_Hal_StartCmdTransfer | ( | EVE_HalContext * | host, |
GPU_TRANSFERDIR_T | rw, | ||
uint16_t | count | ||
) |
Definition at line 155 of file Gpu_Hal.cpp.
void Gpu_Hal_StartTransfer | ( | EVE_HalContext * | host, |
GPU_TRANSFERDIR_T | rw, | ||
uint32_t | addr | ||
) |
Definition at line 123 of file Gpu_Hal.cpp.
uint16_t Gpu_Hal_Transfer16 | ( | EVE_HalContext * | host, |
uint16_t | value | ||
) |
Definition at line 193 of file Gpu_Hal.cpp.
uint32_t Gpu_Hal_Transfer32 | ( | EVE_HalContext * | host, |
uint32_t | value | ||
) |
Definition at line 217 of file Gpu_Hal.cpp.
uint8_t Gpu_Hal_Transfer8 | ( | EVE_HalContext * | host, |
uint8_t | value | ||
) |
Definition at line 183 of file Gpu_Hal.cpp.
void Gpu_Hal_TransferString | ( | EVE_HalContext * | host, |
const char8_t * | string | ||
) |
Definition at line 166 of file Gpu_Hal.cpp.
void Gpu_Hal_Updatecmdfifo | ( | EVE_HalContext * | host, |
uint32_t | count | ||
) |
Definition at line 680 of file Gpu_Hal.cpp.
void Gpu_Hal_WaitLogo_Finish | ( | EVE_HalContext * | host | ) |
Definition at line 848 of file Gpu_Hal.cpp.
void Gpu_Hal_Wr16 | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
uint16_t | v | ||
) |
Definition at line 350 of file Gpu_Hal.cpp.
void Gpu_Hal_Wr32 | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
uint32_t | v | ||
) |
Definition at line 363 of file Gpu_Hal.cpp.
void Gpu_Hal_Wr8 | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
uint8_t | v | ||
) |
Definition at line 337 of file Gpu_Hal.cpp.
void Gpu_Hal_WrCmd32 | ( | EVE_HalContext * | host, |
uint32_t | cmd | ||
) |
Definition at line 876 of file Gpu_Hal.cpp.
void Gpu_Hal_WrCmdBuf | ( | EVE_HalContext * | host, |
uint8_t * | buffer, | ||
uint32_t | count | ||
) |
Definition at line 717 of file Gpu_Hal.cpp.
void Gpu_Hal_WrCmdBuf_nowait | ( | EVE_HalContext * | host, |
uint8_t * | buffer, | ||
uint32_t | count | ||
) |
Definition at line 788 of file Gpu_Hal.cpp.
void Gpu_Hal_WrCmdBufFromFlash | ( | EVE_HalContext * | host, |
PROGMEM prog_uchar8_t * | buffer, | ||
uint32_t | count | ||
) |
Definition at line 250 of file Gpu_Hal.cpp.
void Gpu_Hal_WrMem | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
const uint8_t * | buffer, | ||
uint32_t | length | ||
) |
Definition at line 455 of file Gpu_Hal.cpp.
void Gpu_Hal_WrMemFromFlash | ( | EVE_HalContext * | host, |
uint32_t | addr, | ||
const prog_uchar8_t * | buffer, | ||
uint32_t | length | ||
) |
Definition at line 436 of file Gpu_Hal.cpp.
void Gpu_HostCommand | ( | EVE_HalContext * | host, |
uint8_t | cmd | ||
) |
Definition at line 377 of file Gpu_Hal.cpp.
void Gpu_HostCommand_Ext3 | ( | EVE_HalContext * | host, |
uint32_t | cmd | ||
) |
Definition at line 392 of file Gpu_Hal.cpp.
void Gpu_PLL_FreqSelect | ( | EVE_HalContext * | host, |
GPU_PLL_FREQ_T | freq | ||
) |
Definition at line 567 of file Gpu_Hal.cpp.
void Gpu_PowerModeSwitch | ( | EVE_HalContext * | host, |
GPU_POWER_MODE_T | pwrmode | ||
) |
Definition at line 578 of file Gpu_Hal.cpp.
const uint8_t DLCODE_BOOTUP[12] |
Definition at line 44 of file Gpu_Hal.cpp.