From patchwork Fri Apr 27 06:17:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10367493 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD12E602B3 for ; Fri, 27 Apr 2018 06:18:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD77629300 for ; Fri, 27 Apr 2018 06:18:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A229828458; Fri, 27 Apr 2018 06:18:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C83728458 for ; Fri, 27 Apr 2018 06:18:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D6A2D6E7F8; Fri, 27 Apr 2018 06:17:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D6A06E6E6 for ; Fri, 27 Apr 2018 06:17:38 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id l1so811944wmb.2 for ; Thu, 26 Apr 2018 23:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nNLlApiOTlB+hYLkTLwT+gy3nm4ZH1OkZOwgfDMqzQk=; b=KjDkMV+RhbE7y62oVgDXg2Myq/pLobFJxNXZeLTh9Hp83DbqQanNuWp/bmEla1h4U6 b1XF75XJCzDqELLzq5EfjP6l5fOidPazvhJxFFkSN7k7GAsCQ/4lFk6KMEczo30Q73gk LtPoie6YU69OsEousJq8mP6iKidia7vpka5Jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nNLlApiOTlB+hYLkTLwT+gy3nm4ZH1OkZOwgfDMqzQk=; b=UCw/Gqo3lNSuijbaPuTfmKvU2FuXFfnsFfy31daYiAu+JRPn7eozNO4vIaIFmwn8B2 V4inpepDAv3KkGrHJ3LUic0P2Wzep4cnr7CJiVD3coU7wlwn128ZLjTdhwrCtGZmGkuD ZUosmDSD5XCzZtbpxy6h/XeJzAQ83KiX0A3bP1NG31QjTsj2oD09ReozqCJd5P3QBAaj fta+UACRjVHd3Vch1JApm3Tat37gIKASwdSYZFD9m3PmUdJ37lyobyPwERYFiB5znb+J Vv0KXQJVnmxM4cmAkiID947oiUKUOZTvfL2vysmV25nJv+mSW25oSL8blkE5BZiE61+T DpHA== X-Gm-Message-State: ALQs6tD112a6BNbmFOL6/0lV5N4AgK4h7PhKExgke/u9ptomU6taBUBk fWdpbIdPRpspU+vrsSQ9HQlCgRnq X-Google-Smtp-Source: AB8JxZq5PRxQxoDW/fWP8xl6rqK5lVHzV64GBzWN4P2FfRum9F+kh453WtnQHnGbFpLFyJdGtr9MIg== X-Received: by 2002:aa7:c40b:: with SMTP id j11-v6mr1720985edq.189.1524809856682; Thu, 26 Apr 2018 23:17:36 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id r15-v6sm468897edq.40.2018.04.26.23.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 23:17:35 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 06/17] drm/amdgpu: Remove unecessary dma_fence_ops Date: Fri, 27 Apr 2018 08:17:13 +0200 Message-Id: <20180427061724.28497-7-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427061724.28497-1-daniel.vetter@ffwll.ch> References: <20180427061724.28497-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kees Cook , Daniel Vetter , Intel Graphics Development , pding , Alex Deucher , Evan Quan , =?UTF-8?q?Christian=20K=C3=B6nig?= , Monk Liu Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP dma_fence_default_wait is the default now. Signed-off-by: Daniel Vetter Cc: Alex Deucher Cc: "Christian König" Cc: Monk Liu Cc: pding Cc: Andrey Grodzovsky Cc: Evan Quan Cc: Daniel Vetter Cc: Kees Cook Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 2 -- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c index 2c14025e5e76..574c1181ae9a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c @@ -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, }; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 97449e06a242..9dbbd69dd2b6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -645,7 +645,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, };