]> www.infradead.org Git - users/jedix/linux-maple.git/commit
viafb: correct sync polarity for OLPC DCON
authorDaniel Drake <dsd@laptop.org>
Mon, 21 Nov 2011 15:05:56 +0000 (15:05 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:14:23 +0000 (17:14 -0800)
commitf472a7d2f3c2bc8d3e5ef9bf49a7259371ed5e7d
treef61a9a18149a09fee9efcd7ed5187a54b1fadeef
parentc14c3cbd131e0f04c2c69ac89cf90a37fd61e97b
viafb: correct sync polarity for OLPC DCON

commit a32839696a8eef813a1aff604fbad9a32dff6c95 upstream.

While the OLPC display appears to be able to handle either positive
or negative sync, the Display Controller only recognises positive sync.

This brings viafb (for XO-1.5) in line with lxfb (for XO-1) and
fixes a recent regression where the XO-1.5 DCON could no longer be
frozen. Thanks to Florian Tobias Schandinat for helping identify
the fix.

Test case: from a vt,
echo 1 > /sys/devices/platform/dcon/freeze
should cause the current screen contents to freeze, rather than garbage being
displayed.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/via/share.h