GE 配置
驱动配置
我们一般通过 MPP 层去使用 GE,又由于 MPP 依赖 GE,所以需要配置 MPP
- 在 Luban-Lite 根目录下执行
scons --menuconfig
,进入 menuconfig 的功能配置界面,按如下选择:Board options---> [*] Using Graphics Engine (GE) [*] Using Video Engine (VE)
- MPP 使能在 luban-lite 的根目录下通过
scons --menuconfig
,进入 menuconfig 的功能配置界面,按如下选择:Local packages options---> ArtInChip packages options---> [*]aic-mpp
- 打开
GE同上,进入 menuconfig 的功能配置界面,按如下选择:
Board options ---> [*] Using Graphics Engine (GE) Select Graphics Engine Mode (normal mode) ---> (X) CMD queue mode () normal mode Graphics Engine Parameter ---> [*] Dither function (2048) CMDQ queue buffer
-
可以在 Mode 中选择 CMD queue mode 或者 mode,只可以
二选一
, 其中 mode 为命令队列模式,normal mode 为非命令队列模式 -
可以在 Parameter 中选择开启 Dither,Dither 大概占 16K 内存
-
可以分配 buffer 的大小,分配内存越大,可缓存越多的命令
-