]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd Avoid destroy hqd when GPU is on reset
authorJack Zhang <Jack.Zhang1@amd.com>
Tue, 7 Apr 2020 05:44:51 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 14:43:15 +0000 (10:43 -0400)
commitc70c5b92ca1e54f561b2b493346d1bf5bfb63a34
tree49464ed7abbee93984e847310facf1b213cdf202
parenta958e75088bf0e827eef08a8a675ca819277077b
drm/amdkfd Avoid destroy hqd when GPU is on reset

This reverts commit 5161bba4311f in order to split it into two
different patches, and this will make it easier to understand.

[PATCH 1/2]
porting to gfx10 from
commit e7fc6d2baf0c7592e3 ("drm/amdgpu: Avoid destroy hqd when GPU is on reset")

Originally, MEC is touched
without GPU initialized first.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c