]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: support new mode-1 reset interface (v2)
authorTao Zhou <tao.zhou1@amd.com>
Fri, 12 Nov 2021 10:19:22 +0000 (18:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Nov 2021 19:45:02 +0000 (14:45 -0500)
commitab98db17538e333ef059580ff86a3d99306dbb2a
tree77f1a3f18adf412e654f3f4e317006ae578c1bb9
parent6ac69ef51d4e5b9e48851c320ad4f8ddce31ebd2
drm/amdgpu: support new mode-1 reset interface (v2)

If gpu reset is triggered by ras fatal error, tell it to smu in mode-1
reset message.

v2: move mode-1 reset function to aldebaran_ppt.c since it's aldebaran
specific currently.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/smu_v13_0.h
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c