]> 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)
commit4d7691bf47d51900e6afe234c268bc7477e8eead
tree49464ed7abbee93984e847310facf1b213cdf202
parent55c6e1f7b519d5c7e4d8d79c92f8618e0b94f8a5
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 9f57bc0d21e453919a ("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