mirror-linux/drivers/gpu/drm/amd/pm
Yang Wang 4f2c86c62a drm/amd/pm: add od table upload error message parsing for smu v14.0.x
parse and print detailed reasons for od table upload failures to
help users understand error causes.

example:
$ echo "0 30 40" | sudo tee fan_curve
$ echo "1 40 30" | sudo tee fan_curve
$ echo "c" | sudo tee fan_curve

kernel log:
[   75.040174] amdgpu 0000:0a:00.0: Failed to upload overdrive table, ret:-5
[   75.040178] amdgpu 0000:0a:00.0: Invalid overdrive table content: OD_FAN_CURVE_PWM_ERROR (13)
[   75.040181] amdgpu 0000:0a:00.0: Failed to upload overdrive table!

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-04-17 14:53:02 -04:00
..
inc drm/amd/pm: add smu ras driver framework 2025-11-04 11:53:58 -05:00
legacy-dpm drm/amdgpu: apply state adjust rules to some additional HAINAN vairants 2026-03-17 17:44:03 -04:00
powerplay drm/amd/pm: smu7: Remove stale error check in smu7_hwmgr_backend_init 2026-04-17 14:49:54 -04:00
swsmu drm/amd/pm: add od table upload error message parsing for smu v14.0.x 2026-04-17 14:53:02 -04:00
Makefile drm/amd: Enable SMU 15_0_0 support 2026-01-08 11:41:42 -05:00
amdgpu_dpm.c drm/amd/pm: fix race in power state check before mutex lock 2026-01-27 18:11:27 -05:00
amdgpu_dpm_internal.c drm/amd/pm: Remove unneeded legacy DPM related code. 2025-09-15 16:52:50 -04:00
amdgpu_pm.c drm/amd/pm: fix runtime PM imbalance issue in amdgpu_pm.c 2026-04-17 14:51:15 -04:00