From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794403726; b=No9KJCurq3PDggr++Aeq1By5JmCAxhFCir/9Zu+xZ9shoe046OGqBPHj/2Th3/SWujAi /r+sPmwpxouR2sPrxO1ZfeS35K8IfyvF+1WGLwOIXb9+illIjA0Qa+jdtZ01cqucPCYo5 QbUhPy/C+4f8/pD0CO5HocjMqPEJx337grPCOcaYC6dEfF3jxqj8p9W4SKdqNJCFT4NOt 3aLlRpER14cjVjBxfssv40mhOAFVvtGdrxWnXOgYIlrvq1ti5BUOCmNeJU2B3NY445UmL wGjWpHbJiMtDknZuvXTKM1JkZAxrZjCeJ6pCWWNYUgzXHWUqedsECAYyjWvzF9SlLqA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794403726; h=DMARC-Filter:Received:DKIM-Signature:DKIM-Signature:DKIM-Signature: DKIM-Signature:Received:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:Autocrypt: In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Spam-Flag: X-Spam-Level:X-Spamd-Result:X-Spam-Score; bh=FW5eU1yfp+psDKeNBAOsEj0dksBd4a20D42/+/dRdq8=; b=YEwgYODHnFJ/tZjsttgQfbys++iIuSUXYD3oNwmqez43T0PHkb/XWgnmhv+G254Rc2qP ewX0AMR+Bn6h+fyv8OMk4NzH5MmVzqqQoRfzZioZeLDExSEj3Nlv+mfh/H53zFAUDTuk3 g0L2ss8hWD1fr3MRZB87Zoc5xtOdq1HKBxDK3q4DGWxtcuaOMiT8dqeQUYzaf/40YPAwd MZp1LNuf62JEH6yM7T9wpt25kQdbt45BTeBuHMOMwIskJ0phoj4WoaEddjwWpmB1iYp+e nE/P8E88l9Vd6r0HsmlkpOJbQDpjRV2C55Uh8uxGfy3K9hnzjXEWpcl51sr3hrV5npw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=D4wP5jDs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=2F8yfFAf; dkim=pass header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=htNY92GT; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=wm7tn1dk; arc=none smtp.remote-ip=195.135.223.131 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3609606A31C; Wed, 11 Nov 2026 13:28:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F3609606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=D4wP5jDs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=2F8yfFAf; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=htNY92GT; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=wm7tn1dk Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6E2471FE55; Wed, 11 Nov 2026 13:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1794403705; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=FW5eU1yfp+psDKeNBAOsEj0dksBd4a20D42/+/dRdq8=; b=D4wP5jDsQDC2tz5yHenehW6+uvYH62K9s2EaWiJQRSHPd2imy1Yae0LShbdfxVXsHABaPI VoN0ovI44wOOxj+zus8blb1ZyXlSSNgs7GEazEIvXEg8Xr3MvGvteYxD1NPUOQ+YOxRaiA fox6TTkhEM0W8X9Ocnw6sJZz4u4qMcE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1794403705; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=FW5eU1yfp+psDKeNBAOsEj0dksBd4a20D42/+/dRdq8=; b=2F8yfFAf/Y/VACXRNgGx2Xm+whtErbh3dCuosGXD4yoJg17T8dOiipgySDAZ/adKb8LYSO wH01KQP+M9vX7rCQ== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1794403704; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=FW5eU1yfp+psDKeNBAOsEj0dksBd4a20D42/+/dRdq8=; b=htNY92GT5XxbmnEAeszi/Ns8Z41MbS2wl2ej89VGgtGe07xF6I1LFpxKoQx6XCRya4Qbvz 2NOze9ZMMhW66YJtdmjYUGJZ0rrueamNU/cKPuul+0ZyeH5hXLwyhV2Lucb7WKcdDoyVA/ KPTlY9LYswmXmoB7xMFohz3l6hr+jx0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1794403704; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=FW5eU1yfp+psDKeNBAOsEj0dksBd4a20D42/+/dRdq8=; b=wm7tn1dkL4067WPh6Z8z2aQZquwuJ781BD/UrN7ym38NYlv6dxSd8M+IcENLV1ZshOXwdX 4ViQrfIEigRWvcCw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 8F6081339F; Wed, 11 Nov 2026 13:28:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id oXbRDXdt9GpBUAAAD6G6ig (envelope-from ); Wed, 11 Nov 2026 13:28:23 +0000 Message-ID: Date: Wed, 11 Nov 2026 14:28:22 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 04/15] drm: client: add splash client To: =?UTF-8?Q?M=C3=A0xim_Pedraza_Padilla?= , Maarten Lankhorst , Maxime Ripard , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ard Biesheuvel , Jonathan Corbet , Helge Deller , Peter Jones Cc: Francesco Valla , Jani Nikula , Mario Limonciello , Javier Martinez Canillas , Jocelyn Falempe , Sam Ravnborg , Ilias Apalodimas , Shuah Khan , Randy Dunlap , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-efi@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261027135342.2003632-1-maximpedraza@gmail.com> <20261027135342.2003632-5-maximpedraza@gmail.com> Content-Language: en-US From: Thomas Zimmermann Autocrypt: addr=tzimmermann@suse.de; keydata= xsBNBFs50uABCADEHPidWt974CaxBVbrIBwqcq/WURinJ3+2WlIrKWspiP83vfZKaXhFYsdg XH47fDVbPPj+d6tQrw5lPQCyqjwrCPYnq3WlIBnGPJ4/jreTL6V+qfKRDlGLWFjZcsrPJGE0 BeB5BbqP5erN1qylK9i3gPoQjXGhpBpQYwRrEyQyjuvk+Ev0K1Jc5tVDeJAuau3TGNgah4Yc hdHm3bkPjz9EErV85RwvImQ1dptvx6s7xzwXTgGAsaYZsL8WCwDaTuqFa1d1jjlaxg6+tZsB 9GluwvIhSezPgnEmimZDkGnZRRSFiGP8yjqTjjWuf0bSj5rUnTGiyLyRZRNGcXmu6hjlABEB AAHNJ1Rob21hcyBaaW1tZXJtYW5uIDx0emltbWVybWFubkBzdXNlLmRlPsLAjgQTAQgAOAIb AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftODH AAoJEGgNwR1TC3ojx1wH/0hKGWugiqDgLNXLRD/4TfHBEKmxIrmfu9Z5t7vwUKfwhFL6hqvo lXPJJKQpQ2z8+X2vZm/slsLn7J1yjrOsoJhKABDi+3QWWSGkaGwRJAdPVVyJMfJRNNNIKwVb U6B1BkX2XDKDGffF4TxlOpSQzdtNI/9gleOoUA8+jy8knnDYzjBNOZqLG2FuTdicBXblz0Mf vg41gd9kCwYXDnD91rJU8tzylXv03E75NCaTxTM+FBXPmsAVYQ4GYhhgFt8S2UWMoaaABLDe 7l5FdnLdDEcbmd8uLU2CaG4W2cLrUaI4jz2XbkcPQkqTQ3EB67hYkjiEE6Zy3ggOitiQGcqp j//OwE0EWznS4AEIAMYmP4M/V+T5RY5at/g7rUdNsLhWv1APYrh9RQefODYHrNRHUE9eosYb T6XMryR9hT8XlGOYRwKWwiQBoWSDiTMo/Xi29jUnn4BXfI2px2DTXwc22LKtLAgTRjP+qbU6 3Y0xnQN29UGDbYgyyK51DW3H0If2a3JNsheAAK+Xc9baj0LGIc8T9uiEWHBnCH+RdhgATnWW GKdDegUR5BkDfDg5O/FISymJBHx2Dyoklv5g4BzkgqTqwmaYzsl8UxZKvbaxq0zbehDda8lv hFXodNFMAgTLJlLuDYOGLK2AwbrS3Sp0AEbkpdJBb44qVlGm5bApZouHeJ/+n+7r12+lqdsA EQEAAcLAdgQYAQgAIAIbDBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftOH6AAoJEGgNwR1T C3ojVSkIALpAPkIJPQoURPb1VWjh34l0HlglmYHvZszJWTXYwavHR8+k6Baa6H7ufXNQtThR yIxJrQLW6rV5lm7TjhffEhxVCn37+cg0zZ3j7zIsSS0rx/aMwi6VhFJA5hfn3T0TtrijKP4A SAQO9xD1Zk9/61JWk8OysuIh7MXkl0fxbRKWE93XeQBhIJHQfnc+YBLprdnxR446Sh8Wn/2D Ya8cavuWf2zrB6cZurs048xe0UbSW5AOSo4V9M0jzYI4nZqTmPxYyXbm30Kvmz0rYVRaitYJ 4kyYYMhuULvrJDMjZRvaNe52tkKAvMevcGdt38H4KSVXAylqyQOW5zvPc4/sq9c= In-Reply-To: <20261027135342.2003632-5-maximpedraza@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: NO X-Spam-Level: X-Spamd-Result: default: False [-11.79 / 50.00]; SUSE_INTERNAL_BYPASS(-9.00)[]; BAYES_HAM(-3.00)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TAGGED_RCPT(0.00)[dt]; RCPT_COUNT_TWELVE(0.00)[28]; FREEMAIL_TO(0.00)[gmail.com,linux.intel.com,kernel.org,ffwll.ch,lwn.net,gmx.de,redhat.com]; FREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:email,suse.com:url] X-Spam-Score: -11.79 Hi Am 27.10.26 um 14:53 schrieb Màxim Pedraza Padilla: > From: Francesco Valla > > Add a DRM client that draws a simple splash, with possibility to show: > > - the logo provided by EFI BGRT; > - a static BMP image (loaded as firmware); > - a colored background. > > The client is not meant to replace a full-featured bootsplash, but > rather to remove some complexity (and hopefully boot time) on small > embedded platforms or on systems with a limited scope (e.g: recovery > or manufacturing images). > > The background color is set at build time from a dedicated config > option. Any color in RGB888 format can be used. > > If enabled, the static BMP image is loaded using the kernel firmware > infrastructure; a valid BMP image with 24bpp color and no compression > is expected. The name of the image is set at build time, with the > default being 'drm_splash.bmp'. > > Just like the existing DRM clients, the splash can be enabled from the > kernel command line using drm_client_lib.active=splash. > > v6: > - draw from a work item on system_power_efficient_wq instead of a > render thread > - set the scanouts up again on every hotplug, and keep the image for > the outputs plugged in later > - keep the scanouts on screen until the new ones are committed, so that > a hotplug does not blank every output > - also when the commit or the hotplug fails; restore retires them too > - redraw the image after a background that is drawn again > - accept the V4 and V5 BMP headers > - limit the background color to RGB888 > - point no modeset at the framebuffer it had, which a probe without > connectors leaves in place > - leave restore to the work while the device is suspended > - say in DRM_CLIENT_SPLASH_BMP_NAME that the BMP is requested only once > - don't fail a hotplug, which would stop the later ones for good > - restore commits whatever the modesets hold: an output without a > buffer has no mode either, and is switched off > - take the BMP headers from