]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Set input sync enable
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Dec 2014 12:51:16 +0000 (13:51 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:38 +0000 (14:56 +0100)
commit876aaafdbd5eb2764b6e921306c7d37f9c9f3f09
treeeecd31bd2ee1fa7856574fbd46f45880df342692
parent40f1b87ce7f84a7ff74fd519dc2c75b333068815
sunxi: video: Set input sync enable

Add a write to the "unknown" (*) register to enable auto input sync, when
initially adding sunxi hdmi output support this magic write from the android
kernel code was missed, causing lcdc -> hdmi encoder sync problems.

With this write added, we can drop the modesetting retries and the extra
delays added to work around these sync problems.

With the retries dropped there also is no need to 0 all the enable flags at
the beginning of the modeset, as they are initialized to 0 already by
engines_init.

*) "unknown" is the actual name of this register in the android kernel sources

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Anatolij Gustschin <agust@denx.de>
arch/arm/include/asm/arch-sunxi/display.h
drivers/video/sunxi_display.c