unique_id(9)
π unique_id π
okay so bestie, welcome to the unique_id(9) page β it's a Kernel API Manual situation, and it's honestly lowkey iconic for how short and sweet it is.
πΈ NAME πΈ
unique_id β the whole vibe here is that the amdgpu driver ships a sysfs API so your GPU can hand you a unique ID. The file for that is literally called unique_id, iykyk.
β¨ DESCRIPTION β¨
so here's the tea: the amdgpu driver provides a sysfs API for providing a unique ID for the GPU, and the file unique_id is used for this. open it up and it'll provide a Unique ID that will persist from machine to machine. yes bestie, it follows the card around like a main character. π«Ά
β οΈ NOTE: this will only work for GFX9 and newer. on unsupported ASICs (GFX8 and older) this file will be absent. so if you're looking for it and it's not there, that's not you being flaky β that's the hardware saying no. π
π¦ SEE ALSO π¦
scream, there are So Many friends. grab a snack, we're going through the whole group chat:
- Kernel file
./drivers/gpu/drm/amd/pm/amdgpu_pm.c amdgpu_pm_dev_state_check(9)amdgpu_pm_get_access(9)amdgpu_pm_get_access_if_active(9)amdgpu_pm_put_access(9)power_dpm_state(9)power_dpm_force_performance_level(9)pp_table(9)pp_od_clk_voltage(9)pp_features(9)pp_dpm_sclkpp_dpm_mclkpp_dpm_socclkpp_dpm_fclkpp_dpm_dcefclkpp_dpm_pcie(9)pp_power_profile_mode(9)gpu_busy_percent(9)mem_busy_percent(9)vcn_busy_percent(9)pcie_bw(9)thermal_throttling_logging(9)apu_thermal_cap(9)gpu_metrics(9)smartshift_apu_power(9)smartshift_dgpu_power(9)smartshift_bias(9)board(9)baseboard_temp(9)gpuboard_temp(9)cur_node_power_limit(9)node_power(9)npm_status(9)global_ppt_resid(9)max_node_power_limit(9)baseboard_power(9)baseboard_power_limit(9)pm_policy(9)hwmon(9)fan_curve(9)acoustic_limit_rpm_threshold(9)acoustic_target_rpm_threshold(9)fan_target_temperature(9)fan_minimum_pwm(9)fan_zero_rpm_enable(9)fan_zero_rpm_stop_temperature(9)
β¨ okay that's the whole page, short and slay β¨ β this one lives in ./drivers/gpu/drm/amd/pm, dated October 2026, and it's brought to you by unique_id(9). mwah, go check your GFX9+ GPU's lore π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms