diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-26 09:48:55 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-26 09:48:55 -0400 |
| commit | 69036f0ccd9d48b4e999be4e98fa459430ec93b4 (patch) | |
| tree | e09e075957c7e9b8299e57883d50eb3cff6ee3b2 /include | |
| parent | 866f0956cba7d28432f20f8a696e5c1a2b40b915 (diff) | |
| parent | 6e5264b0380593efda8157406ec40f00daac9f2d (diff) | |
Merge branch 'archit/wb-dispc-for-3.7'
Merge omapdss writeback work. These patches implement the low level writeback
features in the DISPC, but do not yet add a way to actually use the writeback
from the userspace.
* archit/wb-dispc-for-3.7:
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
OMAPDSS: DISPC: Add manager like functions for writeback
OMAPDSS: DISPC: Configure writeback FIFOs
OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
OMAPDSS: DISPC: Add function to set channel in for writeback
OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
OMAPDSS: DISPC: Downscale chroma if plane is writeback
OMAPDSS: DISPC: Configure input and output sizes for writeback
OMAPDSS: DISPC: Add writeback register offsets and dss features structs
OMAPDSS: DISPC: Allow both upscaling and downscaling of chroma
OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode
OMAPDSS: DISPC: Don't pass channel out when configuring overlays
OMAPDSS: DISPC: Make dispc_ovl_setup call dispc_ovl_setup_common
OMAPDSS: OVERLAY: Add position and replication as overlay caps
OMAPDSS: DISPC: Pass overlay caps as a parameter to dispc plane functions
OMAPDSS: DISPC: Simplify function names for setting pipeline input and output sizes
OMAPDSS: DISPC: Constify omap_overlay_info in dispc_ovl_setup()
Diffstat (limited to 'include')
| -rw-r--r-- | include/video/omapdss.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index e65e2e9e16eb..3729173b7fbc 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
| @@ -187,6 +187,8 @@ enum omap_overlay_caps { | |||
| 187 | OMAP_DSS_OVL_CAP_GLOBAL_ALPHA = 1 << 1, | 187 | OMAP_DSS_OVL_CAP_GLOBAL_ALPHA = 1 << 1, |
| 188 | OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA = 1 << 2, | 188 | OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA = 1 << 2, |
| 189 | OMAP_DSS_OVL_CAP_ZORDER = 1 << 3, | 189 | OMAP_DSS_OVL_CAP_ZORDER = 1 << 3, |
| 190 | OMAP_DSS_OVL_CAP_POS = 1 << 4, | ||
| 191 | OMAP_DSS_OVL_CAP_REPLICATION = 1 << 5, | ||
| 190 | }; | 192 | }; |
| 191 | 193 | ||
| 192 | enum omap_overlay_manager_caps { | 194 | enum omap_overlay_manager_caps { |
| @@ -508,6 +510,19 @@ struct omap_dsi_pin_config { | |||
| 508 | int pins[OMAP_DSS_MAX_DSI_PINS]; | 510 | int pins[OMAP_DSS_MAX_DSI_PINS]; |
| 509 | }; | 511 | }; |
| 510 | 512 | ||
| 513 | struct omap_dss_writeback_info { | ||
| 514 | u32 paddr; | ||
| 515 | u32 p_uv_addr; | ||
| 516 | u16 buf_width; | ||
| 517 | u16 width; | ||
| 518 | u16 height; | ||
| 519 | enum omap_color_mode color_mode; | ||
| 520 | u8 rotation; | ||
| 521 | enum omap_dss_rotation_type rotation_type; | ||
| 522 | bool mirror; | ||
| 523 | u8 pre_mult_alpha; | ||
| 524 | }; | ||
| 525 | |||
| 511 | struct omap_dss_output { | 526 | struct omap_dss_output { |
| 512 | struct list_head list; | 527 | struct list_head list; |
| 513 | 528 | ||
