]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00142098 - EPDC fb: Fix slow mode transitions when powerdown delay disabled
authorDanny Nold <dannynold@freescale.com>
Tue, 31 May 2011 17:45:12 +0000 (12:45 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:08 +0000 (14:09 +0200)
commit16f7b87249f2f07926dd948cad04de30c05a5260
treee8f66d6984e165f74cbc87dea69a41adc6acb02f
parentbf0d3309b727cdd0f1a30b0d1cf1e4204b865cd2
ENGR00142098 - EPDC fb: Fix slow mode transitions when powerdown delay disabled

- When the powerdown delay is set to FB_POWERDOWN_DISABLE, the
mxc_epdc_fb_flush_updates() function does not execute correctly, always
resulting in a time out while waiting to receive a completion that signals
that all updates have completed.  This causes long delays when changing the FB
mode, since a mode change will always result in a call to
mxc_epdc_fb_flush_updates().

Fixed this bug by creating a new mxc_epdc_fb_data variable to track whether
all active updates have completed.  mxc_epdc_fb_flush_updates() now
keys off of this variable to determine whether to wait for all
active updates to complete.

Signed-off-by: Danny Nold <dannynold@freescale.com>
drivers/video/mxc/mxc_epdc_fb.c