Edit online

源码说明

Read time: 1 minute(s)

本模块源代码目录结构如下

HAL 层实现:

luban-lite/bsp/artinchip/hal/ge
├── hal_ge_normal.c // normal 模式驱动
├── hal_ge_hw.c     // normal 模式对硬件操作的封装
├── hal_ge_hw.h     // normal 模式对硬件操作封装的 API
├── hal_ge_cmdq.c   // CMD queue 模式驱动
├── hal_ge_reg.h    // GE 寄存器定义
└── ../include/uapi/mpp_types.h  // mpp 公用的类型定义

Driver 层实现:

luban-lite/bsp/artinchip/drv/ge
├── aic_drv_ge.c.c  // GE 驱动接口
└── Kconfig

MPP 层实现:

luban-lite/packages/artinchip/mpp/ge
├── cmdq_ops.c       // MPP GE 驱动命令队列封装
├── normal_ops.c     // MPP GE 驱动普通模式封装
├── mpp_ge.c         // MPP GE 操作封装实现
├── include/ge_ops.h // MPP GE 操作函数定义
├── include/ge_reg.h // GE 寄存器定义
└── ../include/mpp_ge.h // MPP GE 操作封装定义