diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-07-22 18:45:20 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-20 11:01:35 +0300 |
commit | 901a9765a083f84fdaad0df2fa340cc0df33cdb7 (patch) | |
tree | 5bcefeef75a7bb2beb6ec05de4a9707223584243 /dev-util/rocm-smi | |
parent | dev-ml/opam-state: remove unused patch(es) (diff) | |
download | gentoo-901a9765a083f84fdaad0df2fa340cc0df33cdb7.tar.gz gentoo-901a9765a083f84fdaad0df2fa340cc0df33cdb7.tar.bz2 gentoo-901a9765a083f84fdaad0df2fa340cc0df33cdb7.zip |
dev-util/rocm-smi: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/rocm-smi')
-rw-r--r-- | dev-util/rocm-smi/files/rocm-smi-5.1.3-detect-builtin-amdgpu.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-util/rocm-smi/files/rocm-smi-5.1.3-detect-builtin-amdgpu.patch b/dev-util/rocm-smi/files/rocm-smi-5.1.3-detect-builtin-amdgpu.patch deleted file mode 100644 index 3f322aef3582..000000000000 --- a/dev-util/rocm-smi/files/rocm-smi-5.1.3-detect-builtin-amdgpu.patch +++ /dev/null @@ -1,26 +0,0 @@ -Detect amdgpu module for amdgpu-builtin kernel -From dc2a4b5b256692e1a6ecef45210682c316b961e0 Mon Sep 17 00:00:00 2001 -From: YiyangWu <xgreenlandforwyy@gmail.com> -Date: Sat, 2 Apr 2022 16:40:11 +0800 -Subject: [PATCH] Check /sys/module/amdgpu for ROCk instead of lsmod - -Closes: #102 - -Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com> ---- - python_smi_tools/rocm_smi.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/python_smi_tools/rocm_smi.py b/python_smi_tools/rocm_smi.py -index 57606ee..35be495 100755 ---- a/python_smi_tools/rocm_smi.py -+++ b/python_smi_tools/rocm_smi.py -@@ -66,7 +66,7 @@ def driverInitialized(): - """ - driverInitialized = '' - try: -- driverInitialized = str(subprocess.check_output("cat /proc/modules|grep amdgpu", shell=True)) -+ driverInitialized = str(subprocess.check_output("test -d /sys/module/amdgpu", shell=True)) - except subprocess.CalledProcessError: - pass - if len(driverInitialized) > 0: |