]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Improve IP discovery checksum failure logging
authorPerry Yuan <perry.yuan@amd.com>
Tue, 13 Jan 2026 07:04:04 +0000 (15:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:17:23 +0000 (17:17 -0500)
commit54f2fc76ddd3caa7ec8d6018b10147a82b8215ec
treeccf85748bbf6c0063c8115a68ce575ae82b4075c
parent5d42ee457ccd1fb5da4c7f817825b2806ec36956
drm/amdgpu: Improve IP discovery checksum failure logging

Enhance the error logging in amdgpu_discovery_verify_checksum() to
print the calculated checksum, the expected checksum, the data size.

This extra context helps quickly identify if the issue is a data
corruption, a partially read binary, or an invalid table header without
requiring additional instrumentation.

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c