linux/include/video
Archit Taneja 11354dd58d OMAPDSS/OMAP_VOUT: Fix incorrect OMAP3-alpha compatibility setting
On OMAP3, in order to enable alpha blending for LCD and TV managers, we needed
to set LCDALPHABLENDERENABLE/TVALPHABLENDERENABLE bits in DISPC_CONFIG. On
OMAP4, alpha blending is always enabled by default, if the above bits are set,
we switch to an OMAP3 compatibility mode where the zorder values in the pipeline
attribute registers are ignored and a fixed priority is configured.

Rename the manager_info member "alpha_enabled" to "partial_alpha_enabled" for
more clarity. Introduce two dss_features FEAT_ALPHA_FIXED_ZORDER and
FEAT_ALPHA_FREE_ZORDER which represent OMAP3-alpha compatibility mode and OMAP4
alpha mode respectively. Introduce an overlay cap for ZORDER. The DSS2 user is
expected to check for the ZORDER cap, if an overlay doesn't have this cap, the
user is expected to set the parameter partial_alpha_enabled. If the overlay has
ZORDER cap, the DSS2 user can assume that alpha blending is already enabled.

Don't support OMAP3 compatibility mode for now. Trying to read/write to
alpha_blending_enabled sysfs attribute issues a warning for OMAP4 and does not
set the LCDALPHABLENDERENABLE/TVALPHABLENDERENABLE bits.

Change alpha_enabled to partial_alpha_enabled in the omap_vout driver. Use
overlay cap "OMAP_DSS_OVL_CAP_GLOBAL_ALPHA" to check if overlay supports alpha
blending or not. Replace this with checks for VIDEO1 pipeline.

Cc: linux-media@vger.kernel.org
Cc: Lajos Molnar <molnar@ti.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-10-03 16:51:54 +03:00
..
atmel_lcdc.h atmel_lcdfb: implement inverted contrast pwm 2011-03-22 16:23:44 +09:00
aty128.h atyfb: fix header file trailing whitespace 2009-04-01 08:59:26 -07:00
broadsheetfb.h broadsheetfb: support storing waveform 2010-03-12 15:52:34 -08:00
cirrus.h cirrusfb: Laguna chipset 8bpp fix 2009-04-01 08:59:27 -07:00
cvisionppc.h
da8xx-fb.h fbdev: da8xx: punt duplicated FBIO_WAITFORVSYNC define 2010-11-16 10:14:22 +09:00
edid.h
epson1355.h
gbe.h
hecubafb.h fbdev: platforming hecubafb and n411 2008-04-28 08:58:41 -07:00
iga.h
ili9320.h fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
Kbuild include: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
kyro.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mach64.h atyfb: fix CONFIG_ namespace violations 2009-02-05 12:56:48 -08:00
maxinefb.h
mbxfb.h
metronomefb.h [ARM] 5209/1: metronomefb: changes to use platform framebuffer 2008-08-26 17:01:12 +01:00
mipi_display.h fbdev: add a MIPI DSI header 2010-05-24 08:47:38 +09:00
neomagic.h Fix common misspellings 2011-03-31 11:26:23 -03:00
newport.h Merge branch 'master' into for-next 2011-04-26 10:22:59 +02:00
omap-panel-dvi.h OMAP: DSS2: add panel-dvi driver 2011-09-30 16:16:48 +03:00
omap-panel-generic-dpi.h OMAP: DSS2: Move panel-generic-dpi.h to include/video/ 2011-05-11 14:08:51 +03:00
omap-panel-n8x0.h OMAPDSS: Add N800 panel driver 2011-09-30 16:17:30 +03:00
omap-panel-nokia-dsi.h OMAPDSS: Taal: remove external backlight support 2011-09-30 16:17:27 +03:00
omap-panel-picodlp.h OMAP: DSS2: Add picodlp panel driver 2011-09-14 18:08:23 +03:00
omapdss.h OMAPDSS/OMAP_VOUT: Fix incorrect OMAP3-alpha compatibility setting 2011-10-03 16:51:54 +03:00
permedia2.h
platform_lcd.h lcd: add platform_lcd driver 2008-07-24 10:47:40 -07:00
pm3fb.h
pmag-ba-fb.h
pmagb-b-fb.h
pxa168fb.h pxa168fb: remove useless vsync/hsync invert flag 2009-12-01 09:02:32 +08:00
radeon.h atyfb: fix header file trailing whitespace 2009-04-01 08:59:26 -07:00
s1d13xxxfb.h s1d13xxxfb: drop unused code 2010-12-21 01:05:43 +09:00
sgivw.h sgivwfb: Make use of ARRAY_SIZE. 2009-12-04 15:39:52 +01:00
sh_mipi_dsi.h fbdev: sh_mipi_dsi: support different register layouts 2011-01-05 17:16:24 +09:00
sh_mobile_hdmi.h fbdev: sh_mobile_hdmi: add support for more precise HDMI clock configuration 2010-11-10 17:23:54 +09:00
sh_mobile_lcdc.h sh_mobile_meram: MERAM framework for LCDC 2011-05-23 16:06:24 +09:00
sh_mobile_meram.h sh_mobile_meram: Add support for NV24 framebuffers 2011-05-23 16:06:26 +09:00
sisfb.h Fix common misspellings 2011-03-31 11:26:23 -03:00
sstfb.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tdfx.h tdfxfb: move I2C functionality into the tdfxfb 2009-04-07 08:31:08 -07:00
tgafb.h
trident.h tridentfb: add imageblit acceleration for Blade3D family 2008-07-24 10:47:36 -07:00
udlfb.h video: udlfb: Kill off special printk wrappers, use pr_fmt(). 2011-01-06 18:07:54 +09:00
uvesafb.h headers_check fix: video/uvesafb.h 2009-01-31 00:14:52 +05:30
vga.h include/video/vga.h: update web address. 2010-08-16 15:15:18 +02:00
w100fb.h