Skip to content
Commit 11b4da98 authored by Christian König's avatar Christian König Committed by Christian König
Browse files

drm/amdgpu: partially revert "svm bo enable_signal call condition"



Partially revert commit 5f319c5c.

First of all this is illegal use of RCU to call dma_fence_enable_sw_signaling()
since we don't hold a reference to the fence in question and can crash badly.

Then the code doesn't seem to have the intended effect since only the
exclusive fence is handled, but the KFD fences are always added as shared fence.

Only keep the handling to throw away the content of SVM BOs.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211122123926.385017-1-christian.koenig@amd.com


Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
parent cebbb5c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment