Revert "drm/amdkfd: only allow heavy-weight TLB flush on some ASICs for SVM too"
authorLang Yu <Lang.Yu@amd.com>
Wed, 20 Apr 2022 02:24:31 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Apr 2022 19:58:31 +0000 (15:58 -0400)
commit515d7cebc2e2d2b4f0a276d26f3b790a83cdfe06
tree411d27a05072988128aa17198b04211bec4c2520
parente50d9ba0d2cd0cb4dd18e2a41a83fe21d3b046b8
Revert "drm/amdkfd: only allow heavy-weight TLB flush on some ASICs for SVM too"

This reverts commit 36bf93216ecbe399c40c5e0486f0f0e3a4afa69e.

It causes SVM regressions on Vega10 with XNACK-ON. Just revert it
at the moment.

./kfdtest --gtest_filter=KFDSVMRangeTest.MigratePolicyTest

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Philip Yang<Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c