Skip to content

x86: dm: video: Convert to use DM video drivers on all x86 boards

Bin Meng u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11x86: doc: Document coreboot framebuffer driver issue on QEMUdoc/README.x86+3 -01 reply
1/11x86: doc: Document coreboot framebuffer driver issue on QEMU+0 -00 replies
2/11dm: video: Add driver for VESA compatible devicedrivers/video/vesa.c+34 -01 reply
2/11dm: video: Add driver for VESA compatible device+0 -00 replies
3/11dm: video: Output verbose information in vbe_setup_video()drivers/pci/pci_rom.c+8 -11 reply
3/11dm: video: Output verbose information in vbe_setup_video()+0 -00 replies
4/11x86: Convert to use DM VESA video driverconfigs/bayleybay_defconfig configs/chromebox_panther_defconfig configs/conga-qeval20-qa3-e3845-internal-uart_defconfig +15 more+26 -141 reply
4/11x86: Convert to use DM VESA video driver+0 -00 replies
5/11x86: doc: Correct qfw command exampledoc/README.x86+1 -11 reply
5/11x86: doc: Correct qfw command example+0 -00 replies
6/11vbe: Make vbe_setup_video_priv() publicdrivers/pci/pci_rom.c include/vbe.h+7 -31 reply
6/11vbe: Make vbe_setup_video_priv() public+0 -00 replies
7/11dm: video: Add driver for coreboot framebuffer devicedrivers/video/Kconfig drivers/video/coreboot.c+88 -01 reply
7/11dm: video: Add driver for coreboot framebuffer device+0 -00 replies
8/11dm: video: Don't do anything in alloc_fb() when plat->size is zerodrivers/video/video-uclass.c+3 -01 reply
8/11dm: video: Don't do anything in alloc_fb() when plat->size is zero+0 -00 replies
9/11x86: coreboot: Convert to use DM coreboot video driverarch/x86/cpu/coreboot/Kconfig arch/x86/dts/bayleybay.dts arch/x86/dts/broadwell_som-6896.dts +9 more+21 -81 reply
9/11x86: coreboot: Convert to use DM coreboot video driver+0 -00 replies
10/11video: Remove legacy VESA and coreboot framebuffer driversdrivers/video/coreboot_fb.c drivers/video/vesa_fb.c+0 -1711 reply
10/11video: Remove legacy VESA and coreboot framebuffer drivers+0 -00 replies
11/11x86: Clean up unused macros in the configuration headersinclude/configs/cougarcanyon2.h include/configs/efi-x86.h include/configs/galileo.h +2 more+3 -261 reply
11/11x86: Clean up unused macros in the configuration headers+0 -00 replies

Reviews trailers per patch

All 22 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/11R-b
1/11R-b
2/11R-b
2/11R-b
3/11R-b
3/11R-b
4/11R-b
4/11R-b
5/11R-b
5/11R-b
6/11R-b
6/11R-b
7/11R-b
7/11R-b
8/11R-b
8/11R-b
9/11R-b
9/11R-b
10/11R-b
10/11R-b
11/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/11] x86: dm: video: Convert to use DM video drivers on all x86 boards

This adds two new DM video drivers, one for VESA compatible device, the other one for coreboot framebuffer device. All x86 boards have been converted to use the new drivers.

Tested on Intel Crown Bay using an external graphics card, on QEMU using the on-board VGA with DM VESA driver.
Tested on QEMU using the on-board VGA with DM coreboot framebuffer driver, U-Boot as coreboot payload.

This series is available at u-boot-x86/video-working.

Bin Meng (11):
x86: doc: Document coreboot framebuffer driver issue on QEMU
dm: video: Add driver for VESA compatible device
dm: video: Output verbose information in vbe_setup_video()
x86: Convert to use DM VESA video driver
x86: doc: Correct qfw command example
vbe: Make vbe_setup_video_priv() public
dm: video: Add driver for coreboot framebuffer device
dm: video: Don't do anything in alloc_fb() when plat->size is zero
x86: coreboot: Convert to use DM coreboot video driver
video: Remove legacy VESA and coreboot framebuffer drivers
x86: Clean up unused macros in the configuration headers

 arch/x86/cpu/coreboot/Kconfig                      |   4 -
 arch/x86/dts/bayleybay.dts                         |   1 +
 arch/x86/dts/broadwell_som-6896.dts                |   1 +
 arch/x86/dts/chromebook_link.dts                   |   1 +
 arch/x86/dts/chromebook_samus.dts                  |   1 +
 arch/x86/dts/chromebox_panther.dts                 |   1 +
 arch/x86/dts/coreboot_fb.dtsi                      |   5 +
 arch/x86/dts/minnowmax.dts                         |   1 +
 configs/bayleybay_defconfig                        |   1 +
 configs/chromebox_panther_defconfig                |   1 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig |   1 +
 configs/conga-qeval20-qa3-e3845_defconfig          |   1 +
 configs/coreboot-x86_defconfig                     |   2 +
 configs/crownbay_defconfig                         |   1 +
 configs/dfi-bt700-q7x-151_defconfig                |   1 +
 configs/minnowmax_defconfig                        |   1 +
 configs/qemu-x86_defconfig                         |   1 +
 configs/qemu-x86_efi_payload32_defconfig           |   1 +
 configs/qemu-x86_efi_payload64_defconfig           |   1 +
 configs/som-db5800-som-6867_defconfig              |   1 +
 configs/theadorable-x86-dfi-bt700_defconfig        |   1 +
 doc/README.x86                                     |   9 +-
 drivers/pci/pci_rom.c                              |  15 ++-
 drivers/video/Kconfig                              |   9 ++
 drivers/video/Makefile                             |   4 +-
 drivers/video/coreboot.c                           |  79 +++++++++++++++
 drivers/video/coreboot_fb.c                        | 108 ---------------------
 drivers/video/vesa.c                               |  34 +++++++
 drivers/video/vesa_fb.c                            |  63 ------------
 drivers/video/video-uclass.c                       |   3 +
 include/configs/bayleybay.h                        |   6 +-
 include/configs/cougarcanyon2.h                    |   4 -
 include/configs/crownbay.h                         |   4 +-
 include/configs/efi-x86.h                          |   2 -
 include/configs/galileo.h                          |   4 -
 include/configs/minnowmax.h                        |   6 +-
 include/configs/qemu-x86.h                         |   4 +-
 include/configs/som-6896.h                         |   6 +-
 include/configs/som-db5800-som-6867.h              |   6 +-
 include/configs/x86-chromebook.h                   |  12 +--
 include/configs/x86-common.h                       |   7 --
 include/vbe.h                                      |   4 +
 42 files changed, 194 insertions(+), 224 deletions(-)
 create mode 100644 arch/x86/dts/coreboot_fb.dtsi
 create mode 100644 drivers/video/coreboot.c
 delete mode 100644 drivers/video/coreboot_fb.c
 create mode 100644 drivers/video/vesa.c
 delete mode 100644 drivers/video/vesa_fb.c
Signature · 1 line
2.9.2