11.1.1.1 Hardware Operation
For detailed hardware operation and programming information, see the GPU chapter in
the i.MX 6Solo/6DualLiteApplications Processor Reference Manual.
11.1.1.2 Software Operation
The GPU driver is divided into two layers. The first layer is running in kernel mode and
acts as the base driver for the whole stack . This layer provides the essential hardware
access, device management, memory management, command queue management,
context management and power management. The second layer is running in user mode,
implementing the stack logic and providing the following APIs to the upper layer
applications:
• OpenGL ES 1.1 and 2.0 API
• EGL 1.4 API
• OpenVG 1.1 API
11.1.1.3 Source Code Structure
Table below lists GPU driver kernel module source structure:
<ltib_dir>/rpm/BUILD/linux/drivers/mxc/gpu-viv
Table 11-1. GPU Driver Files
File
Description
Kconfig Kbuild config
kernel configure file and makefile
arch/XAQ2/hal/kernel
hardware specific driver code for GC880 and GC320
arch/GC350/hal/kernel
hardware specific driver code for GC350
hal/kernel
Kernel mode HAL driver
hal/os
os layer HAL driver
11.1.1.4 Library Structure
Table below lists GPU driver user mode library structure:
<ROOTFS>/usr/lib
Introduction
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
102
Freescale Semiconductor, Inc.