[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/8] xen: ARM HDLCD video driver



Hi all,
this patch series introduces a very simple driver for the ARM HDLCD
Controller, that means that we can finally have something on the screen
while Xen is booting on ARM :)

The driver is capable of reading the mode property on device tree and
setting the HDLCD accordingly. It is also capable of setting the
required OSC5 timer to the right frequency for the pixel clock.

In order to reduce code duplication with x86, I tried to generalize the
existing vesa character rendering functions into a architecture agnostic
framebuffer driver that can be used by vesa and the hdlcd drivers.

I would very much appreciate if you could give a close look at the vesa
changes because I don't have any x86 test machines that boot in vesa
mode, therefore I couldn't test it.


Changes in v3:
- rename fb_cr to fb_carriage_return.


Changes in v2:
- rebase on latest xen-unstable;
- add support for multiple resolutions;
- add support to dynamically change the OSC5 motherboard timer;
- add the patch "preserve DTB mappings".



Stefano Stabellini (8):
      xen/arm: introduce early_ioremap
      xen: infrastructure to have cross-platform video drivers
      xen: introduce a generic framebuffer driver
      xen/vesa: use the new fb_* functions
      xen/arm: preserve DTB mappings
      xen/device_tree: introduce find_compatible_node
      xen/arm: introduce vexpress_syscfg
      xen/arm: introduce a driver for the ARM HDLCD controller

 xen/arch/arm/Makefile                   |    1 +
 xen/arch/arm/Rules.mk                   |    2 +
 xen/arch/arm/kernel.h                   |    2 +
 xen/arch/arm/mm.c                       |   44 +++++
 xen/arch/arm/platform_vexpress.c        |   97 +++++++++++
 xen/arch/arm/setup.c                    |    8 +-
 xen/arch/x86/Rules.mk                   |    1 +
 xen/common/device_tree.c                |   51 ++++++
 xen/drivers/Makefile                    |    2 +-
 xen/drivers/char/console.c              |   12 +-
 xen/drivers/video/Makefile              |   12 +-
 xen/drivers/video/arm_hdlcd.c           |  282 +++++++++++++++++++++++++++++++
 xen/drivers/video/fb.c                  |  209 +++++++++++++++++++++++
 xen/drivers/video/fb.h                  |   49 ++++++
 xen/drivers/video/modelines.h           |   69 ++++++++
 xen/drivers/video/vesa.c                |  179 +++-----------------
 xen/drivers/video/vga.c                 |   12 +-
 xen/include/asm-arm/config.h            |    4 +
 xen/include/asm-arm/mm.h                |    5 +-
 xen/include/asm-arm/page.h              |   23 +++
 xen/include/asm-arm/platform_vexpress.h |   23 +++
 xen/include/asm-x86/config.h            |    1 +
 xen/include/xen/device_tree.h           |    3 +
 xen/include/xen/vga.h                   |    9 +-
 xen/include/xen/video.h                 |   24 +++
 25 files changed, 940 insertions(+), 184 deletions(-)


Cheers,

Stefano

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.