X Windows Acceleration
i.MX51 EVK Linux Reference Manual
16-4
Freescale Semiconductor
could be used in EGL for OpenGL/ES drawing operations (using the Z430), the pitch alignment
requirement given to EXA’s offscreen memory manager is the conservative value of 32 bytes.
•
Attempts are made to disable the Z160 sub-module clocks whenever the 2D GPU is not being used
for a period of time. The idle time period is specified in milliseconds where the default idle period
before these clocks are disabled is 1000 milliseconds. This time period value can be modified by
adding a “
GPUIdleTimeout
” “
Option
” in the xorg.conf for this imx-drv driver. A time period value
of 0 causes the clocks to never be disabled.
16.2.3
EGL-X Details
The EGL-X library implements the low level EGL interface when used in the X Windows system. The
following list mentions details particular to this implementation:
•
The
eglDisplay
native display type is “
Display*
” in X Windows.
•
The
eglWindowSurface
native window surface type is “
Window
” in X Windows.
•
The
eglPixmapSurface
native pixmap surface type is “
Pixmap
” in X Windows.
•
When an
eglWindowSurface
is created, the back buffers used for double-buffering can have
different representations from the window surface (based on the selected
eglConfig
). An attempt
is made to create each back buffer using the representation which provides the most efficient blit
of the back buffer contents to the window surface when
eglSwapBuffers
is called. Each back buffer
is allocated separately using the following approach:
— Create an X pixmap of the necessary size. Use the X extension for the imx-drv X acceleration
driver module to query the physical frame buffer address for this X pixmap if was allocated in
the offscreen frame buffer memory.
— If the X pixmap is in the offscreen frame buffer memory and ...
– the pixel format of the back buffer matches that of the window, then the
XCopyArea
function
is used to blit the back buffer to the window.
– the pixel format of the back buffer does
not
match that of the window, then the
XRenderComposite
function is used to blit (and convert) the back buffer to the window.
— If the X pixmap is
not
in the offscreen frame buffer memory, then a back buffer is allocated
from the GSL memory pool and mapped to an
XImage
.
– If the pixel format of the back buffer matches that of the window, then the
XPutImage
function is used to blit the back buffer to the window.
– If the pixel format of the back buffer does
not
match that of the window, then the
XPutImage
function is used to first blit the back buffer to the X pixmap (to get image transferred to X
server without format convrsion) and then the
XRenderComposite
function is used to blit (and
convert) the X pixmap to the window.
16.2.4
Setup X Windows Acceleration
•
Verify that the following packages are available and installed:
kernel_<kernel-version>-imx_<bsp-version>_armel.deb
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...