Wire amdgpu into redox-drm packaging

This commit is contained in:
2026-04-18 15:43:15 +01:00
parent 70567356f6
commit 4e6d2ff334
3 changed files with 11 additions and 0 deletions
+6
View File
@@ -4,6 +4,12 @@ path = "source"
[build] [build]
template = "cargo" template = "cargo"
dependencies = [ dependencies = [
"amdgpu",
"redox-driver-sys", "redox-driver-sys",
"linux-kpi", "linux-kpi",
] ]
[package]
dependencies = [
"amdgpu",
]
@@ -31,6 +31,8 @@ fn find_amdgpu_dc_library(manifest_dir: &Path) -> Option<PathBuf> {
} }
} }
push_candidate_dirs(&mut candidates, &manifest_dir.join("../../amdgpu"));
push_candidate_dirs(&mut candidates, &manifest_dir.join("../../amdgpu/stage"));
push_candidate_dirs(&mut candidates, &manifest_dir.join("../amdgpu")); push_candidate_dirs(&mut candidates, &manifest_dir.join("../amdgpu"));
push_candidate_dirs(&mut candidates, &manifest_dir.join("../amdgpu/stage")); push_candidate_dirs(&mut candidates, &manifest_dir.join("../amdgpu/stage"));
@@ -11,6 +11,7 @@
# - firmware-loader: firmware loading daemon used by GPU and Wi-Fi bring-up # - firmware-loader: firmware loading daemon used by GPU and Wi-Fi bring-up
# - redbear-wifictl: Wi-Fi control daemon and scheme # - redbear-wifictl: Wi-Fi control daemon and scheme
# - redox-drm: DRM display driver (AMD + Intel) # - redox-drm: DRM display driver (AMD + Intel)
# - amdgpu: AMD display-core backend shared library for redox-drm
# - evdevd: Event device daemon (input translation) # - evdevd: Event device daemon (input translation)
# - udev-shim: udev-compatible device enumeration shim # - udev-shim: udev-compatible device enumeration shim
@@ -37,6 +38,7 @@ Installed components:
- firmware-loader: firmware daemon - firmware-loader: firmware daemon
- redbear-wifictl: Wi-Fi control plane - redbear-wifictl: Wi-Fi control plane
- redox-drm: DRM display driver (AMD + Intel) - redox-drm: DRM display driver (AMD + Intel)
- amdgpu: AMD display-core backend shared library
- evdevd: Input event translation - evdevd: Input event translation
- udev-shim: Device enumeration - udev-shim: Device enumeration
@@ -54,6 +56,7 @@ dependencies = [
"redbear-iwlwifi", "redbear-iwlwifi",
"redbear-firmware", "redbear-firmware",
"redox-drm", "redox-drm",
"amdgpu",
"firmware-loader", "firmware-loader",
"redbear-wifictl", "redbear-wifictl",
"evdevd", "evdevd",