kernel-fxtec-pro1x/drivers/video/omap2/omapfb
Janorkar, Mayuresh 371e208144 OMAPFB: Adding a check for timings in set_def_mode
When omapfb.mode is passed through bootargs, when omapfb is setting mode,
it would check if timings passed are fine for panel attached to it.
It makes use of check_timing API provided by the panel.

In current code if check_timing API is not available for attached panel,
OMAPFB would return -EINVAL and BPP sent via bootargs will not have any effect.

In case of panels like TAAL panel, omapfb or any other driver should not be allowed to
change the timings. So bpps sent via bootargs will not have an effect.

In such case we can check only the x_res and y_res with the panels resolution
and if they match go ahead and set the bpps.
The bpp value sent via bootarg would have an effect.

Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-03-11 15:46:23 +02:00
..
Kconfig OMAP2PLUS: DSS2: Add OMAP4 Kconfig support 2011-03-11 15:46:22 +02:00
Makefile
omapfb-ioctl.c OMAP: DSS2: OMAPFB: add support for FBIO_WAITFORVSYNC 2010-08-05 16:52:19 +03:00
omapfb-main.c OMAPFB: Adding a check for timings in set_def_mode 2011-03-11 15:46:23 +02:00
omapfb-sysfs.c OMAP: DSS2: OMAPFB: Fix sysfs mirror input check 2010-08-05 16:52:10 +03:00
omapfb.h OMAP: DSS2: OMAPFB: Add some locking debug checks 2010-08-03 15:18:46 +03:00