forked from Minki/linux
11354dd58d
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> |
||
---|---|---|
.. | ||
atmel_lcdc.h | ||
aty128.h | ||
broadsheetfb.h | ||
cirrus.h | ||
cvisionppc.h | ||
da8xx-fb.h | ||
edid.h | ||
epson1355.h | ||
gbe.h | ||
hecubafb.h | ||
iga.h | ||
ili9320.h | ||
Kbuild | ||
kyro.h | ||
mach64.h | ||
maxinefb.h | ||
mbxfb.h | ||
metronomefb.h | ||
mipi_display.h | ||
neomagic.h | ||
newport.h | ||
omap-panel-dvi.h | ||
omap-panel-generic-dpi.h | ||
omap-panel-n8x0.h | ||
omap-panel-nokia-dsi.h | ||
omap-panel-picodlp.h | ||
omapdss.h | ||
permedia2.h | ||
platform_lcd.h | ||
pm3fb.h | ||
pmag-ba-fb.h | ||
pmagb-b-fb.h | ||
pxa168fb.h | ||
radeon.h | ||
s1d13xxxfb.h | ||
sgivw.h | ||
sh_mipi_dsi.h | ||
sh_mobile_hdmi.h | ||
sh_mobile_lcdc.h | ||
sh_mobile_meram.h | ||
sisfb.h | ||
sstfb.h | ||
tdfx.h | ||
tgafb.h | ||
trident.h | ||
udlfb.h | ||
uvesafb.h | ||
vga.h | ||
w100fb.h |