unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "56200@debbugs.gnu.org" <56200@debbugs.gnu.org>
Subject: [bug#56200] [PATCH 4/4] linux-libre: Enable the AMD HSA driver.
Date: Mon, 27 Jun 2022 04:43:24 +0000	[thread overview]
Message-ID: <Zk4X-Uty7XKc79kHgMhSvQicWEzVfdjfPVFwhWFgmgX-R4vingpid6KhAC08kp-A9qhOBXE5mE3mVkA3SYQ2ey-AI9a_rWW1N7axL0OqreQ=@protonmail.com> (raw)
In-Reply-To: <YrX2oIKSr5yH9eiL@jasmine.lan>

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-linux-libre-Enable-the-AMD-HSA-driver.patch --]
[-- Type: text/x-patch; name=0001-linux-libre-Enable-the-AMD-HSA-driver.patch, Size: 992 bytes --]

From 4406233bbd4a091b78735d5a8bb9e80f9b75cc15 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
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


  parent reply	other threads:[~2022-06-27  4:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 17:38 [bug#56200] Kernel 5.18 update Leo Famulari
2022-06-24 17:41 ` [bug#56200] [PATCH 1/3] gnu: Add linux-libre 5.18 Leo Famulari
2022-06-24 17:41   ` [bug#56200] [PATCH 2/3] gnu: linux-libre: Update to 5.18.6 Leo Famulari
2022-06-24 17:41   ` [bug#56200] [PATCH 3/3] gnu: Remove linux-libre 5.17 Leo Famulari
2022-06-24 18:25 ` [bug#56200] Kernel 5.18 update John Kehayias via Guix-patches via
2022-06-24 18:49   ` Leo Famulari
2022-06-26 14:57   ` John Kehayias via Guix-patches via
2022-06-26 20:02     ` Leo Famulari
2022-06-26 20:30       ` Tobias Geerinckx-Rice via Guix-patches via
2022-06-27  4:43 ` John Kehayias via Guix-patches via [this message]
2022-06-28 20:30   ` [bug#56200] [PATCH 4/4] linux-libre: Enable the AMD HSA driver Leo Famulari
2022-06-29  0:38 ` [bug#56200] [PATCH v2] gnu: " John Kehayias via Guix-patches via
2022-06-29  1:05   ` Leo Famulari
2022-06-29 12:55     ` bug#56200: " Leo Famulari
2022-06-29 16:17       ` [bug#56200] " John Kehayias via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Zk4X-Uty7XKc79kHgMhSvQicWEzVfdjfPVFwhWFgmgX-R4vingpid6KhAC08kp-A9qhOBXE5mE3mVkA3SYQ2ey-AI9a_rWW1N7axL0OqreQ=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=56200@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).