From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WBx5Et8sI2MHcwEAbAwnHQ (envelope-from ) for ; Thu, 15 Sep 2022 15:47:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WCNjEt8sI2P96gAAauVa8A (envelope-from ) for ; Thu, 15 Sep 2022 15:47:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EBB803E579 for ; Thu, 15 Sep 2022 15:47:10 +0200 (CEST) Received: from localhost ([::1]:40222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYpCw-00050V-2v for larch@yhetil.org; Thu, 15 Sep 2022 09:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYp9v-0002rO-4a for guix-patches@gnu.org; Thu, 15 Sep 2022 09:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYp9t-0005eM-Tu for guix-patches@gnu.org; Thu, 15 Sep 2022 09:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYp9t-0007p8-Mp for guix-patches@gnu.org; Thu, 15 Sep 2022 09:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57760] [PATCH] system: install: Do not load amdgpu in the installer image. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Sep 2022 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57760 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: Antero Mejr , Florian Pelz , 57760@debbugs.gnu.org Received: via spool by 57760-submit@debbugs.gnu.org id=B57760.166324942930048 (code B ref 57760); Thu, 15 Sep 2022 13:44:01 +0000 Received: (at 57760) by debbugs.gnu.org; 15 Sep 2022 13:43:49 +0000 Received: from localhost ([127.0.0.1]:57529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYp9g-0007oZ-TZ for submit@debbugs.gnu.org; Thu, 15 Sep 2022 09:43:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYp9d-0007oL-MT for 57760@debbugs.gnu.org; Thu, 15 Sep 2022 09:43:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYp9X-0005cR-DL; Thu, 15 Sep 2022 09:43:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=1SAU3OfwBI46lmgJMB2uSkER9OrNStx5C1xpbvP0IMA=; b=A1BHXVmQ36Sy1epeoW2S CGaEKJAiV9k+u+REnarqjmRR6t3L0aQ1y1Tcv1BVsMeD1KZHP4p3VFQmTm0IIeKgJ4AzsOmNBLgMx oSVVfNMvgCB/L5lxBUn2C84n+2J+aau+K0i2HDYdSw5hVhcbP+mizPBvevMvXtnG5sCGtrHiI4yVI 9mJManIEyIJZO0wlMS2JD4M04SRehZFMUeUl4uQUquOF3DgdxUyr7LgQcYglfjxZb5Q4lULOH3hLk 5xmzHuCEyyEWYoRE5Sv7vqjDFrVFbl/hRgC3ynTQBmQZeoO70x9S2mwKUR6tJ/XfUDtIDLLtyCyD5 VBnv6/v7wRIMWw==; Received: from adsl-133.37.6.76.tellas.gr ([37.6.76.133]:46024 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYp9W-00083C-Sg; Thu, 15 Sep 2022 09:43:39 -0400 From: Mathieu Othacehe References: <20220913024248.2183-1-antero@mailbox.org> <878rmmcsoj.fsf@gnu.org> <87y1um5kyu.fsf@jpoiret.xyz> Date: Thu, 15 Sep 2022 15:43:35 +0200 In-Reply-To: <87y1um5kyu.fsf@jpoiret.xyz> (Josselin Poiret's message of "Wed, 14 Sep 2022 12:06:17 +0200") Message-ID: <871qscn46w.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663249631; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=1SAU3OfwBI46lmgJMB2uSkER9OrNStx5C1xpbvP0IMA=; b=ckQVrWUslvuqH8/H+gRrveYE5Vcl96GhJlMY1jcWekgC3H2WwLnYQPGznOLhGf2E+Ck9Xp cQddokxRojTTjGTv1CfZJZ3AyEp0lejczKrFYDYt2LJrSCPH3EQQDKviKCYx+3BKyO/iyP B4z2l4n/rn3kRKKt4pBk5gS9dEfk0m3O8GWnhRnqT2LtWVcsAVqghJ0CwAQWqWLpNAI/nd TUBo5RBXGWbsRKbf8zPkpyBMhvq0kKpe+nAQDqtMQVz2drIO7RtiNFr4Q8er+d8a1s06ln lY02M1hdQEThRo4iveWbkK3PHl9Nc51dVzb4Hjyg5VZqdF9VNZ6oLBFR72kbog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663249631; a=rsa-sha256; cv=none; b=d1edLJGIgnpe9BSfPa8Opb1lFtsYqvlegabqvFyvzZ8Iw5Ba+eU2YsLRM8DPwiZV0d/QEl CcqRTPqLUY5BYny0Q1UxyEYaK26p6pFHp9Nyo3CPl51OgG2D9tqsCasXQEfSeiK0tTOINv kST/ImlrI9hE3DyhKAwvXly9sOytJ2PHDmrujksfnAH7sNDHDh4V3OPaFy7Do+BOACT/5j yeEAzz5y9R3x1uQ92RKD7UMFCdA502EEBEvWo3myTDSlFIn9qdqs3enA+2oL4zokDe/e5p bva85SmqrcNgMzXlqCnrqe3iA+PlJl/JKywvih705WSpFFWnz2rYWvMakn/gyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A1BHXVmQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A1BHXVmQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EBB803E579 X-Spam-Score: -3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: hHg6wXIwn8PP Hello Josselin, > Seems good to me. I'm still pretty uneducated about DRM, the > framebuffers and whatnot though. IIUC, we require either DRI or FB for > kmscon to work (which is better than just FB for the kernel's default fb > console). Same here. > Also, are there other DRM drivers that we could blacklist because they > may try to load non-free blobs? Do some specific systems *require* > non-free blobs in order to display anything? According to this command: --8<---------------cut here---------------start------------->8--- mathieu@meije ~/linux/drivers/gpu/drm$ grep FW_LOADER Kconfig -B 5 source "drivers/gpu/drm/arm/Kconfig" config DRM_RADEON tristate "ATI Radeon" depends on DRM && PCI && MMU select FW_LOADER -- source "drivers/gpu/drm/radeon/Kconfig" config DRM_AMDGPU tristate "AMD GPU" depends on DRM && PCI && MMU select FW_LOADER -- graphics card. If M is selected, the module will be called tdfx. config DRM_R128 tristate "ATI Rage 128" depends on DRM && PCI select FW_LOADER -- for this driver to work. config DRM_MGA tristate "Matrox g200/g400" depends on DRM && PCI select FW_LOADER --8<---------------cut here---------------end--------------->8--- the radeon, amdgpu, r128 and mga DRM drivers are probably relying on firmware loading. So we should maybe extend this patch and add the latter two drivers, even though they are supporting really old hardware. Thanks, Mathieu