FSL-UT-EPDC-001
~~~~~~~~~~~~~~

[cols=">s,6a",frame="topbot",options="header"]
|====================================================================
|Name | Description

| Summary |
EPDC frame buffer test for display updates

| Automated |
YES (But manual observation is required to confirming correct updates on display panel)

| Kernel Config Option |
 CONFIG_FB=y
 CONFIG_FB_MXC=y
 CONFIG_FB_MXC_EINK_PANEL=y
 CONFIG_MFD_MAX17135=y
 CONFIG_REGULATOR_MAX17135=y
 CONFIG_MXC_PXP=y
 CONFIG_DMA_ENGINE=y
 ...

| Software Dependency |
N/A

| Non-default Hardware Configuration |
ifdef::imx50[]
On i.MX508 Armadillo2 board:
- EPD daughter board must connet to PORT4 of the ARM2 base board.

On i.MX508 EVK:
- EPD daughter board must be connected to J14 connector or
- E-Book add-on card must be connected to both J14 and J18 connectors
endif::[]
ifdef::imx6q[]
N/A
endif::[]

| Test Procedure |
EPDC fb test for display updates.

.Features tested (no correlation to EPDC test numbers):
* RGB565, Y8 framebuffer format
* 0, 90, 180, 270 degree framebuffer rotation
* Framebuffer panning
* Use of the alternate framebuffer
* Auto-waveform mode selection
* Automatic update mode
* The force-monochrome update feature and animation mode updates
* Support for using a grayscale colormap
* Snapshot, Queue, and Queue and Merge update schemes
* The EPDC Collision Test mode

.EPDC tests:
. Basic Updates
. Rotation Updates
. Grayscale Framebuffer Updates
. Auto-waveform Selection Updates
. Panning Updates
. Overlay Updates
. Auto-Updates
. Animation Mode Updates
. Fast Updates
. Partial to Full Update Transitions
. Test Pixel Shifting Effect
. Colormap Updates
. Collision Test Mode
. Stress Test

 $ /unit_tests/mxc_epdc_fb_test.out
 Usage: mxc_epdc_fb_test [-h] [-a] [-n]
	-h Print this message
	-a Enabled animation waveforms for fast updates (tests 8-9)
	-p Provide a power down delay (in ms) for the EPDC driver
	-u Select an update scheme
		s - Snapshot update scheme
		q - Queued update scheme
		m - Queued update scheme with update merging
	-n Execute the tests specified in expression
	Expression is a set of comma-separated numeric ranges
 Example:
 /unit_tests/mxc_epdc_fb_test.out -n 1-3,5,7

| Expected Result |
The full set of tests should pass without any failure messages.

For each test, a sequence of updates should be reflected on the screen.  For
almost all tests, the text printed out in the debug console describes the image
that should be observed on the screen.

|====================================================================

<<<
