Skip to contentSkip to conversation

allow simple{fb,drm} drivers to be used on non-x86 EFI platforms

PATCH Applied Javier Martinez Canillas 5 participants 14 messages Jun 25, 2021 – Jul 21, 2021

Subsystems (4)
lore
Share & tools
lore

Javier Martinez Canillas

author maintainer
#0 lore raw

v3 cover allow simple{fb,drm} drivers to be used on non-x86 EFI platforms

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Patch #1 in this series do the former while patch #2 do the latter. It has been tested on x86_64 and aarch64 machines using the efifb, simplefb and simpledrm drivers. But more testing will be highly appreciated, to make sure that no regressions are being introduced by these changes.

The series touches different subystems and will need coordination between maintainers but the patches have already been acked by the x86 folks. Ard Biesheuvel said that these could be merged through the EFI tree if needed.

Best regards,
Javier

Changes in v3:
- Add Borislav and Greg Acked-by tags.
- Also update the SYSFB_SIMPLEFB symbol name in drivers/gpu/drm/tiny/Kconfig.
- We have a a max 100 char limit now, use it to avoid multi-line statements.
- Figure out the platform device name before allocating the platform device.

Changes in v2:
- Use default y and depends on X86 instead doing a select in arch/x86/Kconfig.
- Also enable the SYSFB Kconfig option when COMPILE_TEST.
- Improve commit message to explain why is useful for other arches to use this.
- Use "depends on" for the supported architectures instead of selecting it.
- Improve commit message to explain the benefits of reusing sysfb for !X86.

Javier Martinez Canillas (2):
drivers/firmware: move x86 Generic System Framebuffers support drivers/firmware: consolidate EFI framebuffer setup for all arches

 arch/arm/include/asm/efi.h                    |  5 +-
 arch/arm64/include/asm/efi.h                  |  5 +-
 arch/riscv/include/asm/efi.h                  |  5 +-
 arch/x86/Kconfig                              | 26 ------
 arch/x86/kernel/Makefile                      |  3 -
 drivers/firmware/Kconfig                      | 32 +++++++
 drivers/firmware/Makefile                     |  2 +
 drivers/firmware/efi/Makefile                 |  2 +
 drivers/firmware/efi/efi-init.c               | 90 -------------------
 .../firmware/efi}/sysfb_efi.c                 | 78 +++++++++++++++-
 {arch/x86/kernel => drivers/firmware}/sysfb.c | 37 +++++---
 .../firmware}/sysfb_simplefb.c                | 33 ++++---
 drivers/gpu/drm/tiny/Kconfig                  |  4 +-
 .../x86/include/asm => include/linux}/sysfb.h | 32 +++----
 14 files changed, 180 insertions(+), 174 deletions(-)
 rename {arch/x86/kernel => drivers/firmware/efi}/sysfb_efi.c (84%)
 rename {arch/x86/kernel => drivers/firmware}/sysfb.c (75%)
 rename {arch/x86/kernel => drivers/firmware}/sysfb_simplefb.c (81%)
 rename {arch/x86/include/asm => include/linux}/sysfb.h (70%)
Signature · 1 line
2.31.1
author maintainer
#1 lore raw

PATCH v3 1/2 drivers/firmware: move x86 Generic System Framebuffers support

The x86 architecture has generic support to register a system framebuffer platform device. It either registers a "simple-framebuffer" if the config option CONFIG_X86_SYSFB is enabled, or a legacy VGA/VBE/EFI FB device.

But the code is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory.

This will allow to also support the simple{fb,drm} drivers on non-x86 EFI platforms, such as aarch64 where these drivers are only supported with DT.

---

Changes in v3:
- Add Borislav and Greg Acked-by tags.

Changes in v2:
- Use default y and depends on X86 instead doing a select in arch/x86/Kconfig.
- Also enable the SYSFB Kconfig option when COMPILE_TEST.
- Improve commit message to explain why is useful for other arches to use this.

 arch/x86/Kconfig                              | 26 ---------------
 arch/x86/kernel/Makefile                      |  3 --
 drivers/firmware/Kconfig                      | 32 +++++++++++++++++++
 drivers/firmware/Makefile                     |  2 ++
 drivers/firmware/efi/Makefile                 |  2 ++
 .../firmware/efi}/sysfb_efi.c                 |  2 +-
 {arch/x86/kernel => drivers/firmware}/sysfb.c |  2 +-
 .../firmware}/sysfb_simplefb.c                |  2 +-
 .../x86/include/asm => include/linux}/sysfb.h |  6 ++--
 9 files changed, 42 insertions(+), 35 deletions(-)
 rename {arch/x86/kernel => drivers/firmware/efi}/sysfb_efi.c (99%)
 rename {arch/x86/kernel => drivers/firmware}/sysfb.c (98%)
 rename {arch/x86/kernel => drivers/firmware}/sysfb_simplefb.c (99%)
 rename {arch/x86/include/asm => include/linux}/sysfb.h (95%)
arch/x86/Kconfig +0 -26
index 0ae3eccfec52..f169a30db768 100644
@@ -2766,32 +2766,6 @@ config AMD_NB
 	def_bool y
 	depends on CPU_SUP_AMD && PCI
 
-config X86_SYSFB
-	bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
-	help
-	  Firmwares often provide initial graphics framebuffers so the BIOS,
-	  bootloader or kernel can show basic video-output during boot for
-	  user-guidance and debugging. Historically, x86 used the VESA BIOS
-	  Extensions and EFI-framebuffers for this, which are mostly limited
-	  to x86.
-	  This option, if enabled, marks VGA/VBE/EFI framebuffers as generic
-	  framebuffers so the new generic system-framebuffer drivers can be
-	  used on x86. If the framebuffer is not compatible with the generic
-	  modes, it is advertised as fallback platform framebuffer so legacy
-	  drivers like efifb, vesafb and uvesafb can pick it up.
-	  If this option is not selected, all system framebuffers are always
-	  marked as fallback platform framebuffers as usual.
-
-	  Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will
-	  not be able to pick up generic system framebuffers if this option
-	  is selected. You are highly encouraged to enable simplefb as
-	  replacement if you select this option. simplefb can correctly deal
-	  with generic system framebuffers. But you should still keep vesafb
-	  and others enabled as fallback if a system framebuffer is
-	  incompatible with simplefb.
-
-	  If unsure, say Y.
-
 endmenu
 
 
arch/x86/kernel/Makefile +0 -3
index 0f66682ac02a..4114ea47def2 100644
@@ -135,9 +135,6 @@ obj-$(CONFIG_X86_CHECK_BIOS_CORRUPTION) += check.o
 obj-$(CONFIG_SWIOTLB)			+= pci-swiotlb.o
 obj-$(CONFIG_OF)			+= devicetree.o
 obj-$(CONFIG_UPROBES)			+= uprobes.o
-obj-y					+= sysfb.o
-obj-$(CONFIG_X86_SYSFB)			+= sysfb_simplefb.o
-obj-$(CONFIG_EFI)			+= sysfb_efi.o
 
 obj-$(CONFIG_PERF_EVENTS)		+= perf_regs.o
 obj-$(CONFIG_TRACING)			+= tracepoint.o
drivers/firmware/Kconfig +32 -0
index 1db738d5b301..5991071e9d7f 100644
@@ -251,6 +251,38 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
 
 	  Say Y here to enable "download mode" by default.
 
+config SYSFB
+	bool
+	default y
+	depends on X86 || COMPILE_TEST
+
+config X86_SYSFB
+	bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
+	depends on SYSFB
+	help
+	  Firmwares often provide initial graphics framebuffers so the BIOS,
+	  bootloader or kernel can show basic video-output during boot for
+	  user-guidance and debugging. Historically, x86 used the VESA BIOS
+	  Extensions and EFI-framebuffers for this, which are mostly limited
+	  to x86.
+	  This option, if enabled, marks VGA/VBE/EFI framebuffers as generic
+	  framebuffers so the new generic system-framebuffer drivers can be
+	  used on x86. If the framebuffer is not compatible with the generic
+	  modes, it is advertised as fallback platform framebuffer so legacy
+	  drivers like efifb, vesafb and uvesafb can pick it up.
+	  If this option is not selected, all system framebuffers are always
+	  marked as fallback platform framebuffers as usual.
+
+	  Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will
+	  not be able to pick up generic system framebuffers if this option
+	  is selected. You are highly encouraged to enable simplefb as
+	  replacement if you select this option. simplefb can correctly deal
+	  with generic system framebuffers. But you should still keep vesafb
+	  and others enabled as fallback if a system framebuffer is
+	  incompatible with simplefb.
+
+	  If unsure, say Y.
+
 config TI_SCI_PROTOCOL
 	tristate "TI System Control Interface (TISCI) Message Protocol"
 	depends on TI_MESSAGE_MANAGER
drivers/firmware/Makefile +2 -0
index 546ac8e7f6d0..946dda07443d 100644
@@ -18,6 +18,8 @@ obj-$(CONFIG_FIRMWARE_MEMMAP)	+= memmap.o
 obj-$(CONFIG_RASPBERRYPI_FIRMWARE) += raspberrypi.o
 obj-$(CONFIG_FW_CFG_SYSFS)	+= qemu_fw_cfg.o
 obj-$(CONFIG_QCOM_SCM)		+= qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
+obj-$(CONFIG_SYSFB)		+= sysfb.o
+obj-$(CONFIG_X86_SYSFB)		+= sysfb_simplefb.o
 obj-$(CONFIG_TI_SCI_PROTOCOL)	+= ti_sci.o
 obj-$(CONFIG_TRUSTED_FOUNDATIONS) += trusted_foundations.o
 obj-$(CONFIG_TURRIS_MOX_RWTM)	+= turris-mox-rwtm.o
drivers/firmware/efi/Makefile +2 -0
index 467e94259679..c02ff25dd477 100644
@@ -36,6 +36,8 @@ obj-$(CONFIG_LOAD_UEFI_KEYS)		+= mokvar-table.o
 fake_map-y				+= fake_mem.o
 fake_map-$(CONFIG_X86)			+= x86_fake_mem.o
 
+obj-$(CONFIG_SYSFB)			+= sysfb_efi.o
+
 arm-obj-$(CONFIG_EFI)			:= efi-init.o arm-runtime.o
 obj-$(CONFIG_ARM)			+= $(arm-obj-y)
 obj-$(CONFIG_ARM64)			+= $(arm-obj-y)
drivers/firmware/efi/sysfb_efi.c renamed from arch/x86/kernel/sysfb_efi.c +1 -1
similarity index 99%
rename from arch/x86/kernel/sysfb_efi.c
rename to drivers/firmware/efi/sysfb_efi.c
index 8a56a6d80098..9f035b15501c 100644
@@ -21,10 +21,10 @@
 #include <linux/mm.h>
 #include <linux/pci.h>
 #include <linux/screen_info.h>
+#include <linux/sysfb.h>
 #include <video/vga.h>
 
 #include <asm/efi.h>
-#include <asm/sysfb.h>
 
 enum {
 	OVERRIDE_NONE = 0x0,
drivers/firmware/sysfb.c renamed from arch/x86/kernel/sysfb.c +1 -1
similarity index 98%
rename from arch/x86/kernel/sysfb.c
rename to drivers/firmware/sysfb.c
index 014ebd8ca869..1337515963d5 100644
@@ -32,7 +32,7 @@
 #include <linux/platform_data/simplefb.h>
 #include <linux/platform_device.h>
 #include <linux/screen_info.h>
-#include <asm/sysfb.h>
+#include <linux/sysfb.h>
 
 static __init int sysfb_init(void)
 {
drivers/firmware/sysfb_simplefb.c renamed from arch/x86/kernel/sysfb_simplefb.c +1 -1
similarity index 99%
rename from arch/x86/kernel/sysfb_simplefb.c
rename to drivers/firmware/sysfb_simplefb.c
index 298fc1edd9c9..df892444ea17 100644
@@ -18,7 +18,7 @@
 #include <linux/platform_data/simplefb.h>
 #include <linux/platform_device.h>
 #include <linux/screen_info.h>
-#include <asm/sysfb.h>
+#include <linux/sysfb.h>
 
 static const char simplefb_resname[] = "BOOTFB";
 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS;
include/linux/sysfb.h renamed from arch/x86/include/asm/sysfb.h +3 -3
similarity index 95%
rename from arch/x86/include/asm/sysfb.h
rename to include/linux/sysfb.h
index 9834eef7f034..3e5355769dc3 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
-#ifndef _ARCH_X86_KERNEL_SYSFB_H
-#define _ARCH_X86_KERNEL_SYSFB_H
+#ifndef _LINUX_SYSFB_H
+#define _LINUX_SYSFB_H
 
 /*
  * Generic System Framebuffers on x86
@@ -91,4 +91,4 @@ static inline int create_simplefb(const struct screen_info *si,
 
 #endif /* CONFIG_X86_SYSFB */
 
-#endif /* _ARCH_X86_KERNEL_SYSFB_H */
+#endif /* _LINUX_SYSFB_H */
Signature · 1 line
2.31.1
author maintainer
#2 lore raw
In reply to Javier Martinez Canillas
Quoted 9 lines · Javier Martinez Canillas

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

Quoted 9 lines

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well.

The patches have already been acked by x86 and DRM folks.

Best regards,

Signature · 2 lines
Javier Martinez Canillas
Linux Engineering
#3 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Hi

Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas:

Quoted 20 lines · Javier Martinez Canillas
Quoted 9 lines

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

Quoted 9 lines

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Quoted 4 lines

Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well.

The patches have already been acked by x86 and DRM folks.

Time to get this merged, I'd say. People are asking for these patches already.

Best regards
Thomas

Quoted 3 lines

Best regards,

Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
#4 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 24 lines · Thomas Zimmermann

Hi

Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas:

Quoted 20 lines · Javier Martinez Canillas
Quoted 18 lines

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Quoted 7 lines
Quoted 4 lines

Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well.

The patches have already been acked by x86 and DRM folks.

Time to get this merged, I'd say. People are asking for these patches already.

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Dave.

maintainer
#5 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 29 lines · Dave Airlie
Quoted 27 lines · Thomas Zimmermann

Hi

Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas:

Quoted 23 lines · Javier Martinez Canillas
Quoted 9 lines

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

Quoted 9 lines

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

The patches have already been acked by x86 and DRM folks.

Time to get this merged, I'd say. People are asking for these patches already.

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

Thanks,
Ard.

#6 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 35 lines · Ard Biesheuvel
Quoted 34 lines · Dave Airlie
Quoted 31 lines · Thomas Zimmermann

Hi

Am 13.07.21 um 18:59 schrieb Javier Martinez Canillas:

Quoted 20 lines · Javier Martinez Canillas
Quoted 9 lines

The simplefb and simpledrm drivers match against a "simple-framebuffer" device, but for aarch64 this is only registered when using Device Trees and there's a node with a "simple-framebuffer" compatible string.

There is no code to register a "simple-framebuffer" platform device when using EFI instead. In fact, the only platform device that's registered in this case is an "efi-framebuffer", which means that the efifb driver is the only driver supported to have an early console with EFI on aarch64.

Quoted 9 lines

The x86 architecture platform has a Generic System Framebuffers (sysfb) support, that register a system frambuffer platform device. It either registers a "simple-framebuffer" for the simple{fb,drm} drivers or legacy VGA/EFI FB devices for the vgafb/efifb drivers.

The sysfb is generic enough to be reused by other architectures and can be moved out of the arch/x86 directory to drivers/firmware, allowing the EFI logic used by non-x86 architectures to be folded into sysfb as well.

Quoted 4 lines

Any more comments on this series? It would be nice for this to land so the simpledrm driver could be used on aarch64 EFI systems as well.

The patches have already been acked by x86 and DRM folks.

Time to get this merged, I'd say. People are asking for these patches already.

Quoted 6 lines
Quoted 3 lines

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want.

And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
author maintainer
#7 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 2 lines · Daniel Vetter
Quoted 1 line · Ard Biesheuvel

On Mon, 19 Jul 2021 at 04:59, Dave Airlie <[email protected]> wrote:

[snip]

Quoted 11 lines
Quoted 7 lines
Quoted 4 lines

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want.

Thanks a lot Dave and Daniel!

Quoted 2 lines

And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any.

I also plan to look at any regression that might had been introduced by these.

Best regards,

Signature · 3 lines
Javier Martinez Canillas
Linux Engineering
Red Hat
Acked-by
#8 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 11 lines · Javier Martinez Canillas
Quoted 2 lines · Daniel Vetter
Quoted 1 line · Ard Biesheuvel

On Mon, 19 Jul 2021 at 04:59, Dave Airlie <[email protected]> wrote:

[snip]

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want.

Thanks a lot Dave and Daniel!

Oh I haven't merged them, I'm assuming Thomas will do that. Just figured I'll throw my ack on top:

Quoted 11 lines
Quoted 2 lines

And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any.

I also plan to look at any regression that might had been introduced by these.

Best regards,

Signature · 3 lines
Javier Martinez Canillas
Linux Engineering
Red Hat
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#9 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Hi

Am 20.07.21 um 15:59 schrieb Daniel Vetter:

Quoted 15 lines · Javier Martinez Canillas
Quoted 14 lines · Daniel Vetter
Quoted 2 lines · Ard Biesheuvel
Quoted 1 line · Dave Airlie

[snip]

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want.

Thanks a lot Dave and Daniel!

Oh I haven't merged them, I'm assuming Thomas will do that. Just figured

Can I simply put the patches in to drm-misc-next? There was some talk about a topic branch?

Best regards
Thomas

Quoted 16 lines

I'll throw my ack on top:

Quoted 11 lines
Quoted 2 lines

And since Dave has given a blanket cheque for handling fallout he'll deal with the need for fixups too if there's any.

I also plan to look at any regression that might had been introduced by these.

Best regards,

Signature · 3 lines
Javier Martinez Canillas
Linux Engineering
Red Hat
Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
author maintainer
#10 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Hello Thomas,

Quoted 5 lines · Thomas Zimmermann

Am 20.07.21 um 15:59 schrieb Daniel Vetter:

Quoted 4 lines · Javier Martinez Canillas
Quoted 3 lines · Daniel Vetter
Quoted 2 lines · Ard Biesheuvel
Quoted 1 line · Dave Airlie

[snip]

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines

Can we just merge via drm-misc and make sure the acks are present and I'll deal with the fallout if any.

Fine with me. Could you stick it on a separate branch so I can double check whether there are any issues wrt the EFI tree?

It'll pop up in linux-next for integration testing or you can pick up the patch here for test-merge if you want.

This is what Daniel said...

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Thanks a lot Dave and Daniel!

Oh I haven't merged them, I'm assuming Thomas will do that. Just figured

Can I simply put the patches in to drm-misc-next? There was some talk about a topic branch?

... which AFAIU means that there's no need for a topic branch, since the patches will be present in linux-next. And the EFI folks can use that to check if there are any integration issues or regressions caused by these.

Quoted 3 lines

Best regards
Thomas

Best regards,

Signature · 3 lines
Javier Martinez Canillas
Linux Engineering
Red Hat
maintainer Applied
#11 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Hi

Am 21.07.21 um 07:09 schrieb Javier Martinez Canillas:
...

Quoted 8 lines
Quoted 4 lines

Can I simply put the patches in to drm-misc-next? There was some talk about a topic branch?

... which AFAIU means that there's no need for a topic branch, since the patches will be present in linux-next. And the EFI folks can use that to check if there are any integration issues or regressions caused by these.

Merged into drm-misc-next.

Best regards
Thomas

Quoted 7 lines
Quoted 4 lines

Best regards
Thomas

Best regards,

Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
author maintainer
#12 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 9 lines · Thomas Zimmermann

Hi

Am 21.07.21 um 07:09 schrieb Javier Martinez Canillas:
...

Quoted 5 lines
Quoted 4 lines

Can I simply put the patches in to drm-misc-next? There was some talk about a topic branch?

Quoted 6 lines
Quoted 3 lines

... which AFAIU means that there's no need for a topic branch, since the patches will be present in linux-next. And the EFI folks can use that to check if there are any integration issues or regressions caused by these.

Merged into drm-misc-next.

Thanks a lot Thomas for all your help!

Best regards,

Signature · 3 lines
Javier Martinez Canillas
Linux Engineering
Red Hat
#13 lore raw

Re: [PATCH v3 0/2] allow simple{fb, drm} drivers to be used on non-x86 EFI platforms

Quoted 10 lines · Javier Martinez Canillas
Quoted 9 lines · Thomas Zimmermann

Hi

Am 21.07.21 um 07:09 schrieb Javier Martinez Canillas:
...

Quoted 5 lines
Quoted 4 lines

Can I simply put the patches in to drm-misc-next? There was some talk about a topic branch?

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

... which AFAIU means that there's no need for a topic branch, since the patches will be present in linux-next. And the EFI folks can use that to check if there are any integration issues or regressions caused by these.

Merged into drm-misc-next.

Thanks a lot Thomas for all your help!

Yeah topic branch makes sense when we have further work that will build on top of a patch sets in at latest _two_ different subsystems, and it doesn't make sense to just merge it all in one place (because too much work, or a refactoring that's too invasive and will cause random conflicts with subsequent work in the same subsystem, or ...).

Otherwise just acks and then merge in one place. We shouldn't do bureaucratics like topic branches if there's not an actual need for them. -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch