android_kernel_motorola_sm6225/drivers/video/omap2/dss
Tomi Valkeinen 4ffa35713e OMAP: DSS2: DSI: change DSI timeout functions
Using nanoseconds as arguments to functions that set the DSI timeouts was
perhaps not so good idea. The timeouts are based on different DSI clocks,
so the possible range for the timeouts vary greatly depending on the
clocks. Also, the multipliers used with the timeouts cause big gaps in the
timeout range, meaning that the nanosecond based functions could cause the
timeout to be quite far from the intended value.

This patch changes the functions to take the plain tick values with the
multiplier enable/disable bits, and sets the TA/LP_RX/HS_TX timeouts to
maximum. While the timeouts could be much lower, the fact is that when
TA/LP_RX/HS_TX timeout happens, we are in an error situation and not in a
hurry anyway.

STOP_STATE_COUNTER is a different matter, but it is only used at
initialization time, and won't normally affect the performance.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
2010-08-03 15:18:47 +03:00
..
core.c OMAP: DSS2: Fix omap_dss_probe() error path 2010-05-18 15:06:09 +03:00
dispc.c OMAP: DSS2: clear spurious SYNC_LOST_DIGIT interrupts 2010-08-03 15:18:45 +03:00
display.c OMAP: DSS2: Check if display supports update mode changes 2010-08-03 15:18:45 +03:00
dpi.c OMAP: DSS2: move timing functions 2010-02-24 14:31:28 +02:00
dsi.c OMAP: DSS2: DSI: change DSI timeout functions 2010-08-03 15:18:47 +03:00
dss.c OMAP3630: DSS2: Updating MAX divider value 2010-05-18 15:06:06 +03:00
dss.h OMAP: DSS2: omap_dss_probe() conditional compilation cleanup 2010-05-18 15:06:08 +03:00
Kconfig OMAP: DSS2: Add Kconfig option for DPI display type 2010-05-18 14:14:29 +03:00
Makefile OMAP: DSS2: Add Kconfig option for DPI display type 2010-05-18 14:14:29 +03:00
manager.c OMAP: DSS2: Fix update area calculations with multiple scaled overlays 2010-08-03 15:18:45 +03:00
overlay.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rfbi.c OMAP: DSS2: move enable/disable/suspend/resume 2010-02-24 14:31:28 +02:00
sdi.c OMAP: DSS2: Use vdds_sdi regulator supply in SDI 2010-05-18 14:14:29 +03:00
venc.c OMAP: DSS2: VENC: don't call platform_enable/disable() twice 2010-05-18 14:14:30 +03:00