From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8049D28C874; Thu, 8 Jan 2026 19:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767899175; cv=none; b=iLtxkMKv4r72vsa8aYjgSs4Rr9ekx8wGfrjFeiNYp5NtVUUXLUIHFyBOIYW/RF3S1sawUpZeUC2nqYE7aJ30iV0gFCfCC06/5vzvycDvc6+NSUBexqSey/mvuTO3Sh4SQJ61IGx6h76eIJpaOZNZJsAzfMrrn4FMijcJ54AsT2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767899175; c=relaxed/simple; bh=RPMonMH2s9bh+J9vQq/TOhDfStoxkPr8FIo46AL/EEg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=k4c5pC+5qVZAzKJV57J/ffWWPefICNwUgMQPXdlSsGLJ9PFKytBYm+3b209JwbK5CElefYUTimH6meZAiMfrijMiQ+oBvhfF0a/kPm87jPeCR3pyBG4m+cBuAdtdmryPiOrvYEw9GY6C3wdM8QnIw2TOLfUeKRhL0ec5Jt9qQ9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AZolaFoO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AZolaFoO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8B0AC116D0; Thu, 8 Jan 2026 19:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767899174; bh=RPMonMH2s9bh+J9vQq/TOhDfStoxkPr8FIo46AL/EEg=; h=From:Subject:Date:To:Cc:From; b=AZolaFoOkk3pfNxSV468LelnfbaNrPyocJMJx1WQj2JyAW4aBr96fs31JYClARTIA JbStswFEbTBFnkA8bX5nDByP530ed4KdtGsg0xPV0lOalXX+znJlltEXVUZqBdbAVE YgT0DWAtfx1eRFCysOEkOs8VsMecTtv7bNwWGWHE8z3OGViES77OuXTpWdPYOkFhfm tf9mt9DQ4T6iraUPK3ARei3Sueq6n1PoCBwnL6C8ZE/Xc4WVnLur4ZrzL24K7ap4Jf pabhO9XuwAaWKNxAOIRlnQpJy4FXF0q6l2Fec5IDy8+WWd9Kdqo2SxkiC08FQ9j+r7 p4p1zp7z592cw== From: Vincent Mailhol Subject: [PATCH v3 0/7] video/logo: allow custom boot logo and simplify logic Date: Thu, 08 Jan 2026 20:04:48 +0100 Message-Id: <20260108-custom-logo-v3-0-5a7aada7a6d4@kernel.org> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAND/X2kC/1WMyw6CMBBFf4V0bc10CuWx8j+MCyxTaERqWm00h H+3EF2wPDf3nJkF8pYCa7KZeYo2WDclkIeM6aGdeuK2S8wQsBCIJdev8HR3Prre8VpiZ6RQLaB myXh4Mva91c6XxINNX//Z4lGs668jYdeJggPPS6lkmReqJjrdyE80Hp3v2RqK+JcVCBB7GZNcE WlQnbmaqtjJy7J8AdXLAFPkAAAA X-Change-ID: 20251227-custom-logo-932df316a02c To: Helge Deller , Greg Kroah-Hartman , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz Cc: Geert Uytterhoeven , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-m68k@lists.linux-m68k.org, Vincent Mailhol X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3353; i=mailhol@kernel.org; h=from:subject:message-id; bh=RPMonMH2s9bh+J9vQq/TOhDfStoxkPr8FIo46AL/EEg=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDJkJDJwdkT3vu+Yt9Fr4bqpp2go9M7ufUy5E+xc8yDS9d o5h0hS+joksDGJcDJZiiizLyjm5FToKvcMO/bWEmcPKBDJEWqSBAQhYGPhyE/NKjXSM9Ey1DfUM DXWATAYuTgGY6ooAhn/25Qc7d51TEbEVs+FeZXh5zdWnJzcUMN1alXecRyt6+omzjAyNfpNFZV9 ZB0jrf3FQaTSIkr+5zd4oc9mzdtFYx/r6SiYA X-Developer-Key: i=mailhol@kernel.org; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 This series allows the user to replace the default kernel boot logo by a custom one directly in the kernel configuration. This makes it easier to customise the boot logo without the need to modify the sources and allows such customisation to remain persistent after applying the configuration to another version of the kernel. Patch #1 and #2 are clean-up and preparation while patch #3 is the main feature of this series: making the boot logo customisable. While working on this, I realised that managing the logo file directly in Kbuild allows us to simplify how we handle the different existing variants of the Tux logo. This series thus ends with a clean-up which moves all the logo selection logic to Kbuild except from one special case (details in the patch description), simplifying the Makefile and the C code. Patch #4 and #5 do a tree-wide clean-up on the Kconfig symbols that are to be removed in patch #7. Patch #6 removes the Macintosh 68k logo which is conflicting with our simplification plans. Patch #7 finally simplifies the logic as explained above. Signed-off-by: Vincent Mailhol --- Changes in v3: - v2 broke the logo selection for m68k resulting in the MAC logo replacing the default logo on some machine where it shouldn't. v3 resolves the conflict by removing that logo. - Typo fix in patch #4 description. Link to v2: https://lore.kernel.org/r/20260101-custom-logo-v2-0-8eec06dfbf85@kernel.org Changes in v2: - By removing the logo_spe_clut224.o target from the Makefile, v1 also removed the logo_spe_clut224 object which is still being referenced in arch/powerpc/platforms/cell/spu_base.c Restore the logo_spe_clut224.o target. Link to v1: https://lore.kernel.org/r/20251230-custom-logo-v1-0-4736374569ee@kernel.org --- Vincent Mailhol (7): video/logo: remove orphan .pgm Makefile rule video/logo: add a type parameter to the logo makefile function video/logo: allow custom logo newport_con: depend on LOGO_LINUX_CLUT224 instead of LOGO_SGI_CLUT224 sh: defconfig: remove CONFIG_LOGO_SUPERH_* video/logo: remove logo_mac_clut224 video/logo: move logo selection logic to Kconfig arch/sh/configs/dreamcast_defconfig | 2 - arch/sh/configs/ecovec24_defconfig | 2 - arch/sh/configs/kfr2r09_defconfig | 2 - arch/sh/configs/migor_defconfig | 2 - arch/sh/configs/rts7751r2d1_defconfig | 2 - arch/sh/configs/rts7751r2dplus_defconfig | 2 - arch/sh/configs/se7724_defconfig | 2 - arch/sh/configs/se7780_defconfig | 2 - arch/sh/configs/sh7785lcr_defconfig | 3 - arch/sh/configs/urquell_defconfig | 3 - drivers/video/console/newport_con.c | 4 +- drivers/video/logo/Kconfig | 82 +- drivers/video/logo/Makefile | 29 +- drivers/video/logo/logo.c | 46 +- drivers/video/logo/logo_mac_clut224.ppm | 1604 ------------------------------ include/linux/linux_logo.h | 8 - 16 files changed, 63 insertions(+), 1732 deletions(-) --- base-commit: 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb change-id: 20251227-custom-logo-932df316a02c Best regards, -- Vincent Mailhol