]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Create version number for coredumps
authorAndré Almeida <andrealmeid@igalia.com>
Fri, 15 Sep 2023 16:44:53 +0000 (18:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Oct 2023 19:11:29 +0000 (15:11 -0400)
commitde009982c6aa8363b2bc8800fb0a13896d264853
tree7b83da9475c2787674812290248058a45e21a93e
parent69619868d39bf364721db8d9d2429420704417a3
drm/amdgpu: Create version number for coredumps

Even if there's nothing currently parsing amdgpu's coredump files, if
we eventually have such tools they will be glad to find a version field
to properly read the file.

Create a version number to be displayed on top of coredump file, to be
incremented when the file format or content get changed.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h