drm/amdgpu: Remove unecessary dma_fence_ops
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2018 14:25:53 +0000 (16:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jul 2018 11:13:08 +0000 (13:13 +0200)
dma_fence_default_wait is the default now.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Monk Liu <Monk.Liu@amd.com>
Cc: pding <Pixel.Ding@amd.com>
Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Cc: Evan Quan <evan.quan@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Kees Cook <keescook@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180503142603.28513-6-daniel.vetter@ffwll.ch
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c

index 2c14025e5e7680b563dd3e6b83afc2815d19dd1d..574c1181ae9a22c1e63f37a5919c47a3b2d9c476 100644 (file)
@@ -173,7 +173,5 @@ static const struct dma_fence_ops amdkfd_fence_ops = {
        .get_driver_name = amdkfd_fence_get_driver_name,
        .get_timeline_name = amdkfd_fence_get_timeline_name,
        .enable_signaling = amdkfd_fence_enable_signaling,
-       .signaled = NULL,
-       .wait = dma_fence_default_wait,
        .release = amdkfd_fence_release,
 };
index 39ec6b8890a1bf200053900b7998e5f33d703a32..2e9db0ebe678eb7aecb77093e15e53bec84c48aa 100644 (file)
@@ -646,7 +646,6 @@ static const struct dma_fence_ops amdgpu_fence_ops = {
        .get_driver_name = amdgpu_fence_get_driver_name,
        .get_timeline_name = amdgpu_fence_get_timeline_name,
        .enable_signaling = amdgpu_fence_enable_signaling,
-       .wait = dma_fence_default_wait,
        .release = amdgpu_fence_release,
 };