[U-Boot] [PATCH v2 3/7] sunxi: video: Convert lcdc to use struct display_timing

Simon Glass sjg at chromium.org
Sat Apr 1 04:20:46 UTC 2017


On 20 March 2017 at 16:01, Jernej Skrabec <jernej.skrabec at siol.net> wrote:
> Video driver for older Allwinner SoCs uses cfb console framework which
> in turn uses struct ctfb_res_modes to hold timing informations. However,
> DM video framework uses different structure - struct display_timing.
>
> It makes more sense to convert lcdc to use new timing structure because
> all new drivers should use DM video framework and older drivers might be
> rewritten to use new framework too.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
> ---
> Changes in v2:
> - new patch
>
>  arch/arm/include/asm/arch-sunxi/lcdc.h |  6 ++--
>  drivers/video/sunxi/lcdc.c             | 64 ++++++++++++++++------------------
>  drivers/video/sunxi/sunxi_display.c    | 35 +++++++++++++++++--
>  3 files changed, 67 insertions(+), 38 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list