drm/amdgpu: add reset sources in gpu reset context
authorEric Huang <jinhuieric.huang@amd.com>
Mon, 3 Jun 2024 15:56:03 +0000 (11:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:13 +0000 (11:25 -0400)
commit2656e1ce783a90fa1aa0e11f2915d7c0442bf06f
treeebf462a089e9fde96400113c548b1b4f5f7435fc
parent3e538e43222c37de60cefa6e662beb8b30297300
drm/amdgpu: add reset sources in gpu reset context

reset source or reset cause is very useful info
for reset context, it will be used by events API.

Suggested-by: Lijo Lazar <Lijo.Lazar@amd.com>
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@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