diff options
author | shaoyunl <shaoyun.liu@amd.com> | 2019-06-26 19:42:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-27 18:22:41 +0200 |
commit | a864e29d94abac7f9756e07180c167f50fb00042 (patch) | |
tree | 537d317560453706cd50f8dfa67c2f70383ee6e3 | |
parent | drm/amdgpu: Set queue_preemption_timeout_ms default value (diff) | |
download | linux-a864e29d94abac7f9756e07180c167f50fb00042.tar.xz linux-a864e29d94abac7f9756e07180c167f50fb00042.zip |
drm/amdkfd: remove unnecessary warning message on gpu reset
In XGMI configuration, more than one asic can be reset at same time,
kfd is able to handle this and no need to trigger the warning
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index 26ea46de3722..2e2f7241f381 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c @@ -738,7 +738,6 @@ int kgd2kfd_post_reset(struct kfd_dev *kfd) if (ret) return ret; count = atomic_dec_return(&kfd_locked); - WARN_ONCE(count != 0, "KFD reset ref. error"); atomic_set(&kfd->sram_ecc_flag, 0); |