amdgpu-pro-libs: update to 5.5.1, keep firmware in 5.4.6 except for vcn

This commit is contained in:
Mateusz Słodkowicz 2023-05-30 21:14:41 +02:00
parent 78cb1ec187
commit 5d0c8a0fba
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
3 changed files with 264 additions and 240 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,13 +5,37 @@ let
in
stdenv.mkDerivation rec {
pname = "amdgpu-firmware";
version = "5.4.6";
src = fetchurl {
url ="https://repo.radeon.com/amdgpu/5.4.6/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_5.18.13.50406-1580598.22.04_all.deb";
name = "amdgpu-firmware";
sha256 ="7701fbb95900c2502aba03f4d3d29f1caaa935191bf21012ecff7ffa0f631696";
};
passthru = {
vcn = stdenv.mkDerivation rec {
pname = "amdgpu-firmware-vcn";
version = sources.version;
src = sources.bit64.amdgpu-dkms-firmware;
inherit meta;
inherit unpackPhase;
inherit dontBuild;
inherit dontFixup;
inherit dontPatchELF;
inherit nativeBuildInputs;
inherit sourceRoot;
installPhase = ''
mkdir -p $out/lib/firmware/amdgpu
mv lib/firmware/updates/amdgpu/vcn* $out/lib/firmware/amdgpu
'';
};
};
dontFixup = true;
dontBuild = true;

View File

@ -22,7 +22,7 @@ def readPackages(packageString, packages,version):
elif x[0] == "SHA256":
packages[len(packages) - 1]["sha256"] = x[1].strip()
def generateFetchurl(version = "5.4.6", ubuntu_code = "jammy"):
def generateFetchurl(version = "5.5.1", ubuntu_code = "jammy"):
packages = []
packages32 = []