commit | 0e045215578bc67fab00009ba4985bbdcd90de23 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Dec 21 14:49:34 2014 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Wed Jan 14 14:56:39 2015 +0100 |
tree | c5abfe6507356a862db62db872ef7ab97d2f0f72 | |
parent | 1c092205a251165950ce59118d253984e6386005 [diff] |
sunxi: video: Prepare for lcd support Refactor sunxi_mode_set into a bunch of helpers, and make it do a switch case on sunxi_display.monitor to decide what to do. Also rename sunxi_lcdc_mode_set to sunxi_lcdc_tcon1_mode_set, as it sets the timings for tcon1, and for lcd support we need a similar function operating on tcon0. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>