aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaoyunl <shaoyun.liu@amd.com>2019-06-26 13:42:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-27 12:22:41 -0400
commita864e29d94abac7f9756e07180c167f50fb00042 (patch)
tree537d317560453706cd50f8dfa67c2f70383ee6e3
parentf51af4357c4a15fc1aa1d9250935100b63a91d1e (diff)
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.c1
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)
738 if (ret) 738 if (ret)
739 return ret; 739 return ret;
740 count = atomic_dec_return(&kfd_locked); 740 count = atomic_dec_return(&kfd_locked);
741 WARN_ONCE(count != 0, "KFD reset ref. error");
742 741
743 atomic_set(&kfd->sram_ecc_flag, 0); 742 atomic_set(&kfd->sram_ecc_flag, 0);
744 743