Debian Patches

Status for amdsmi/7.2.0-3

Patch Description Author Forwarded Bugs Origin Last update
0001-modify-esmi-path.patch modify esmi path
We've integrate esmi project in `d/esmi_ib_library`, so update `CMakeLists.txt`.
Xuanteng Huang <xuanteng.huang@outlook.com> not-needed 2024-07-12
0002-remove-built-in-package.patch remove built-in package
Upstream developers provide some native approaches to build packages for Debian/CentOS.
We don't need this.
Xuanteng Huang <xuanteng.huang@outlook.com> not-needed 2024-07-12
0004-modify-shared-lib-loading-path.patch modify shared lib loading path
Modify the shared library (.so) loading path with Linux FHS.
Xuanteng Huang <xuanteng.huang@outlook.com> no 2024-07-12
0005-Fix-compilation-against-newer-libdrm.patch Fix compilation against newer libdrm
This struct is declared in both places and turns out to be a problem
from repeated declaration.
```
struct drm_color_ctm_3x4
```
To avoid problems, include the libdrm one first so we never include
the local copy if libdrm is already in place.
"Mario Limonciello (AMD)" <superm1@kernel.org> invalid 2026-02-23
0006-Remove-some-unnecessary-header-includes-and-adjust-o.patch Remove some unnecessary header includes, and adjust others to correct linkage "Mario Limonciello (AMD)" <superm1@kernel.org> invalid 2026-02-23
0001-ROCM-186-amd-smi-Add-support-for-a-VRAM-and-GTT-tuni.patch [ROCM-186] amd-smi: Add support for a VRAM and GTT tuning interface (#3636)

* amd-smi: Add support for a VRAM and GTT tuning interface

Introduce new subcommands `amd-smi static` which is used for viewing
what VRAM and GTT settings are for a machine.

Systems that support VRAM tuning (such as APUs) can have the value
of the carveout changed. It is changed using the sysfs interface
present in Linux kernel 7.0+.

All systems can have GTT tuning set to override the kernel policy.
The default kernel policy is 50% if it hasn't been modified.
Options are stored in the sysfs file `/etc/modprobe.d/ttm.conf`.

Introduce support for setting VRAM and GTT with `amd-smi set` and
resetting GTT with `amd-smi reset`.

* amdsmi: Bundle required libdrm headers

Bundle necessary libdrm headers in include/libdrm to ensure successful compilation on systems with older libdrm versions. This includes GFX12 support and specific VBIOS/IDS flags required by the current amdsmi implementation.

* Adjustments for code-review feedback

* Drop unnecessary header

* Remove accidentally included file

* Move GTT to node command instead

* [AMD-SMI] Add kernel UAPI comments and sync magic number notes

* [AMD-SMI] Extract is_dry_run() helper and fix TTM module path detection

* [AMD-SMI] Fix CLI GTT as system-wide baremetal-only command

* [AMD-SMI] Fix test environment cleanup and update assertions

* [AMD-SMI] Add VRAM/GTT Python API documentation

* Fix_wrapper
Mario Limonciello <superm1@kernel.org> no 2026-03-06

All known versions for source package 'amdsmi'

Links