Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Felix Kuehling
Am 2021-01-07 um 11:28 a.m. schrieb Christian König: > Am 07.01.21 um 17:16 schrieb Felix Kuehling: >> Am 2021-01-07 um 5:56 a.m. schrieb Christian König: >> >>> Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism.

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Christian König
Am 07.01.21 um 17:16 schrieb Felix Kuehling: Am 2021-01-07 um 5:56 a.m. schrieb Christian König: Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal callback

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Felix Kuehling
Am 2021-01-07 um 5:56 a.m. schrieb Christian König: > Am 07.01.21 um 04:01 schrieb Felix Kuehling: >> From: Alex Sierra >> >> [why] >> To support svm bo eviction mechanism. >> >> [how] >> If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, >> enable_signal callback will be called inside a

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal callback will be called inside amdgpu_evict_flags. This also causes gutting of the BO by removing all placem

[PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-06 Thread Felix Kuehling
From: Alex Sierra [why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal callback will be called inside amdgpu_evict_flags. This also causes gutting of the BO by removing all placements, so that TTM won't actually do an eviction