drm/amdgpu: adjust the judgement of removing fence callback
The fence in the array may be skipped if wait_all is false, thus the related callback is not initialized with list head. So removing this kind callback will cause NULL pointer reference. Signed-off-by: NJunwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: NJammy Zhou <Jammy.Zhou@amd.com>
Showing
想要评论请 注册 或 登录