Initial BLTsville API definition.

BLTsville is the open 2-D API designed to provide an abstract
interface for both hardware and software 2-D implementations.

BLTs (BLock Transfers) involve the moving around of blocks
(rectangles) of pixels.

Change-Id: I871f2821d8ec257899c7ac3b26a16ab219f48920
Signed-off-by: Rick Tillery <rtillery@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
bltsville: add bv_cache to bltsville API

Change-Id: I0e87b1180fad52706106e14b38fb79aa498754a5
Signed-off-by: Jack Yen <jyen@ti.com>
BV: Update headers to 2.2

Add bvbltparams.src2auxdstrect,
bvbltparams.maskauxdstrect,
BVFLAG_SRC2_AUXDSTRECT and BVFLAG_MASK_AUXDSTRECT;
Add BVAT_reserved2 bvauxtype;

Change-Id: I40c51f48642693fc8359fcfa15f37664a52f5823
Signed-off-by: Jack Yen <jyen@ti.com>
Initial Open Color format Definitions (OCD).

OCD is a set of Open Color format Definitions.  Color formats
are used in everything from BLTers to video codecs,
and from cameras to displays.  But although there are
plenty of common formats, the definition of the code specifying
them is never the same.

OCD attempts to solve this problem.  It provides logical color
format codes, and is extensible.

Change-Id: I21efada119207773c10f9b199b7a7ca0f1aa60d2
Signed-off-by: Rick Tillery <rtillery@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
Add header for dsscomp and optional bltsville data from Android HWC

In order to support the OMAP4470 GC320 blit IP from HWC, we will
optionally add blit data to the payload of information passed from
HWC to the SGX display driver (OMAPLFB).

Change-Id: Ia764810b0db0d5d7b0e3f777eeabf879b4552282
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
omap_hwc: Describe the api agreement with omaplfb

Change-Id: I1ec9348a661999d536dcec1ba47247289075790e
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
omap_hwc: Adds a flag to hint omaplfb a blit FB is needed

When HWC generates blits a DSS pipe is configured and assigned
for the blit framebuffer, this patch adds a flag to give a
hint to omaplfb to use such pipe when it is present.

This helps in situations where there are not blits but blit
buffers to synchronize with and a blit buffer must be used.
In such case the rgz_items and num_ovls from dsscomp where not
enough data to recognize this scenario.

Change-Id: I70542b5d4a865b783277a46afe5e030d17b90f8f
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>