On Fri, 2025-10-31 at 14:16 +0100, Christian König wrote: > Calling dma_fence_is_signaled() here is illegal!
The series was sent as a v2. But is this still an RFC? If not, more detailed commit messages are a desirable thing. P. > > Signed-off-by: Christian König <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c > index 1ef758ac5076..09c919f72b6c 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c > @@ -120,12 +120,6 @@ static bool amdkfd_fence_enable_signaling(struct > dma_fence *f) > { > struct amdgpu_amdkfd_fence *fence = > to_amdgpu_amdkfd_fence(f); > > - if (!fence) > - return false; > - > - if (dma_fence_is_signaled(f)) > - return true; > - > if (!fence->svm_bo) { > if > (!kgd2kfd_schedule_evict_and_restore_process(fence->mm, f)) > return true;
