From patchwork Mon Jun 27 04:43:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 3407 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 55B8227BBEA; Mon, 27 Jun 2022 05:44:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1643427BBE9 for ; Mon, 27 Jun 2022 05:44:15 +0100 (BST) Received: from localhost ([::1]:57282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5gbe-0006Yn-55 for patchwork@mira.cbaines.net; Mon, 27 Jun 2022 00:44:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5gbS-0006YO-FX for guix-patches@gnu.org; Mon, 27 Jun 2022 00:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5gbS-00085s-6P for guix-patches@gnu.org; Mon, 27 Jun 2022 00:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5gbS-0008Sy-0D for guix-patches@gnu.org; Mon, 27 Jun 2022 00:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56200] [PATCH 4/4] linux-libre: Enable the AMD HSA driver. References: In-Reply-To: Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Jun 2022 04:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56200 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "56200@debbugs.gnu.org" <56200@debbugs.gnu.org> Received: via spool by 56200-submit@debbugs.gnu.org id=B56200.165630502132506 (code B ref 56200); Mon, 27 Jun 2022 04:44:01 +0000 Received: (at 56200) by debbugs.gnu.org; 27 Jun 2022 04:43:41 +0000 Received: from localhost ([127.0.0.1]:49416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5gb6-0008SE-Sj for submit@debbugs.gnu.org; Mon, 27 Jun 2022 00:43:41 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:35977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5gb3-0008Ry-J2 for 56200@debbugs.gnu.org; Mon, 27 Jun 2022 00:43:39 -0400 Date: Mon, 27 Jun 2022 04:43:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1656305011; x=1656564211; bh=Bk6dmWUO39kxSsRCrPjXwRPQ3LgV+SXOD7ujw/QAxiM=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=uUmyI+COJS8H8CpJqwWUAni4yaouEj5hk6CrNxdWtu9BWDDdZYaRYcPcOMUtRddh2 iDwhvqgtfkV4R8DvXdpm4qL6xILIL3va2QdtN6vmFYkD/ndDs4AEjP1P6EjEjUWqU/ Xt6CyryZg6VWtbgfh/YViFJz5reiob39UokW8Oitme6jyfQorsWqtMeihNOqa48CGd HAt1pXRzYh3PEa7cMN2G6TAfbK02ZAEqt9SHMyCYspLjX86CV2j1pZ6z05pNQ8q7On W0DwCOlRCcuxd3nuHTHYAGi3cVROqBT+7F+67mo+MEuqu3dCyWcXXIGlzrBl/uGn2v dutwEYjSXgFVQ== Message-ID: Feedback-ID: 7805494:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias X-getmail-retrieved-from-mailbox: Patches Hello, I've attached a patch that should apply after the original patch series, enabling CONFIG_HSA_AMD for the x86_64 5.18 config. I checked only that linux-libre builds, but haven't tried a kernel I would normally used (modified from linux-libre). I could give that a shot later. I'm not entirely sure if I got the commit message format for this type of change correct, but hopefully is close. I have been running for some time now this exact configuration change for a kernel based on linux-libre 5.17 though, with no ill effects I know of and successfully enabling OpenCL support on my hardware. Let me know if you need anything else and thanks for taking a look! John From 4406233bbd4a091b78735d5a8bb9e80f9b75cc15 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Mon, 27 Jun 2022 00:33:54 -0400 Subject: [PATCH] linux-libre: Enable the AMD HSA driver. * gnu/packages/aux-files/linux-libre/5.18-x86_64.conf: Enable the AMD Heterogeneous System Architecture (HSA) driver. --- gnu/packages/aux-files/linux-libre/5.18-x86_64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/aux-files/linux-libre/5.18-x86_64.conf b/gnu/packages/aux-files/linux-libre/5.18-x86_64.conf index 658e01187b..c8502e42c8 100644 --- a/gnu/packages/aux-files/linux-libre/5.18-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/5.18-x86_64.conf @@ -6687,7 +6687,7 @@ CONFIG_DRM_AMD_DC_DCN=y CONFIG_DRM_AMD_SECURE_DISPLAY=y # end of Display Engine Configuration -# CONFIG_HSA_AMD is not set +CONFIG_HSA_AMD=y CONFIG_DRM_NOUVEAU=m # CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set CONFIG_NOUVEAU_DEBUG=5 -- 2.36.1