commit | 4125f928fcc59f9224263dc3208b0d3cd6d7a547 | [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 | a0b1b73c5c5eac5c71ab440e8f7e698d4d1c7b71 [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>