Skip to contentSkip to conversation

drm/sysfb: corebootdrm: Fix Kconfig dependency

PATCH In review Ville Syrjala 2 participants 3 messages Nov 18

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/sysfb: corebootdrm: Fix Kconfig dependency

From: Ville Syrjälä <[email protected]>

DRM_COREBOOTDRM depends on GOOGLE_FRAMEBUFFER_COREBOOT, which is a transitional stub symbol that can never be enabled. This makes the driver impossible to select. Depend on the real symbol, COREBOOT_FRAMEBUFFER, instead.

Fixes a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>

---
Claude spotted this while we were looking for extra things to enable in my drm-misc kernel build config.

 drivers/gpu/drm/sysfb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/sysfb/Kconfig +1 -1
index f7e48178885e..2bfcd59bfe6d 100644
@@ -10,7 +10,7 @@ config DRM_SYSFB_HELPER
 config DRM_COREBOOTDRM
 	tristate "Coreboot framebuffer driver"
 	depends on DRM && MMU
-	depends on GOOGLE_FRAMEBUFFER_COREBOOT
+	depends on COREBOOT_FRAMEBUFFER
 	select APERTURE_HELPERS
 	select DRM_CLIENT_SELECTION
 	select DRM_GEM_SHMEM_HELPER
Signature · 1 line
2.56.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/sysfb: corebootdrm: Fixes trailer cites wrong introducing commit --

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] drm/sysfb: corebootdrm: Fixes trailer cites wrong introducing commit
--

commit bff902d09954dd5579fb286ff3723415928aa52a
Author: Ville Syrjälä <[email protected]>

Quoted 11 lines

drm/sysfb: corebootdrm: Fix Kconfig dependency

DRM_COREBOOTDRM depends on GOOGLE_FRAMEBUFFER_COREBOOT, which is a transitional stub symbol that can never be enabled. This makes the driver impossible to select. Depend on the real symbol, COREBOOT_FRAMEBUFFER, instead.

Fixes a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>

[Severity: Low]
Should the Fixes: tag point to 44e33a5aaa2d ("firmware: Rename google firmware directory to coreboot") instead?

When a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers") was added, GOOGLE_FRAMEBUFFER_COREBOOT was the active symbol and COREBOOT_FRAMEBUFFER did not exist yet. 44e33a5aaa2d ("firmware: Rename google firmware directory to coreboot") renamed it to COREBOOT_FRAMEBUFFER and turned GOOGLE_FRAMEBUFFER_COREBOOT into a promptless transitional stub without updating DRM_COREBOOTDRM, so citing a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers") could cause stable backports onto kernels that do not yet have COREBOOT_FRAMEBUFFER.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
Quoted 25 lines · On Wed, Nov 18, 2026 at 09:02:19PM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] drm/sysfb: corebootdrm: Fixes trailer cites wrong introducing commit
--

commit bff902d09954dd5579fb286ff3723415928aa52a
Author: Ville Syrjälä <[email protected]>

Quoted 11 lines

drm/sysfb: corebootdrm: Fix Kconfig dependency

DRM_COREBOOTDRM depends on GOOGLE_FRAMEBUFFER_COREBOOT, which is a transitional stub symbol that can never be enabled. This makes the driver impossible to select. Depend on the real symbol, COREBOOT_FRAMEBUFFER, instead.

Fixes a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>

[Severity: Low]
Should the Fixes: tag point to 44e33a5aaa2d ("firmware: Rename google firmware directory to coreboot") instead?

Quoted 9 lines

When a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers") was added, GOOGLE_FRAMEBUFFER_COREBOOT was the active symbol and COREBOOT_FRAMEBUFFER did not exist yet. 44e33a5aaa2d ("firmware: Rename google firmware directory to coreboot") renamed it to COREBOOT_FRAMEBUFFER and turned GOOGLE_FRAMEBUFFER_COREBOOT into a promptless transitional stub without updating DRM_COREBOOTDRM, so citing a29a1f0ec8d6 ("drm/sysfb: corebootdrm: Add DRM driver for coreboot framebuffers") could cause stable backports onto kernels that do not yet have COREBOOT_FRAMEBUFFER.

Mea culpa. Didn't trawl the history hard enough.

Cc Julius Werner <[email protected]>
Cc Sean Rhodes <[email protected]>
Cc Tzung-Bi Shih <[email protected]>
Signature · 2 lines
Ville Syrjälä
Intel