OSDN Git Service

OMAP: DSS2: Add new registers for NV12 support
authorAmber Jain <amber@ti.com>
Thu, 19 May 2011 14:17:53 +0000 (19:47 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 May 2011 05:29:47 +0000 (08:29 +0300)
commitab5ca071e231e6d6da5f6aa9484a2cd233f7c746
tree617204bdad3ab7e7d6cf0ee1a804f5722347f0dc
parent5719d35cce5b8f7c09cbf6860a37e9762b3bda72
OMAP: DSS2: Add new registers for NV12 support

Add new registers specific to UV color component that are introduced in OMAP4.
Add simple helper functions to configure the newly added registers.
These new registers are mainly:
- UV base address registers used specifically for NV12 color-format
- FIR registers used for UV-color-component scaling on OMAP4
- Accumulator registers used for UV-color-component scaling
Add these new registers to save/restore and DUMPREG functions.
Also add two new features for OMAP4:
- FEAT_HANDLE_UV_SEPARATE - this is used on OMAP4 as UV color-component requires
  separate handling.
- FEAT_ATTR2 - this is used on OMAP4 to configure new ATTRIBUTES2 register.

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dispc.h
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h