From patchwork Thu May 3 14:25:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10378489 X-Patchwork-Delegate: agross@codeaurora.org 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 DFEC860353 for ; Thu, 3 May 2018 14:26:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEE8329194 for ; Thu, 3 May 2018 14:26:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C33A829196; Thu, 3 May 2018 14:26:24 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E18229195 for ; Thu, 3 May 2018 14:26:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751154AbeECO0X (ORCPT ); Thu, 3 May 2018 10:26:23 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55281 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbeECO0V (ORCPT ); Thu, 3 May 2018 10:26:21 -0400 Received: by mail-wm0-f66.google.com with SMTP id f6so28722461wmc.4 for ; Thu, 03 May 2018 07:26:21 -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; bh=VEMNKcb+XfM2Xwll+m4+pLbxeLIH6ofcYrjXzIcz1bk=; b=kC+MDdefhYLHbHZAJJ7DxOp91A1Txh4s/RQ88QJ9CIgS98ZPZISbVUOBmHnEkPAB4k O0YxtI9FEoqRauxjUg7pAx3zwtpqaify7m5umPwzGdbeibRmHwqH1TBGft7LJfIfCyC5 i86ALNNJg3zdxVhBS4fGk0XpwtFkDHY4Gbzgc= 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; bh=VEMNKcb+XfM2Xwll+m4+pLbxeLIH6ofcYrjXzIcz1bk=; b=SOdU/pD2HmDA16ABwVgB9tRemNcTSNNCnVtm0WGU3ToJlgvK2x21w0djldolZRzITv qe5CHj8lm7LM7j4w4fdIw1Tnb0NOOHZIXsFua1C7b2WXbLjj496BaC/9dbxJibp7HoFX fE5y4cRPi8KNlK58tcJEauYj1a6b7VpLdXQx3rTuCsAXHXNiN8EX8XnR9oP5FqJXBa+7 /e4J/MFLAb6Dx6fuaFYp6bjEUcl6PMVZLO3FgMsV6RlWxnxJiwZeCGNUFZWhmgNWTOkL uM8kdKyVfmtCBoWGaqLhPT5rDTrdRRZPIkrOlALlZarpvOePSt8+5UhvMM67CpLlo0uT 3Onw== X-Gm-Message-State: ALQs6tARMui3P4PyvYBShMWDVa6kiM2GdfvYVMxD2mRPeIipYyjN4uFe IhXdlrnmEwfjOW8oS7mwKtt1tA== X-Google-Smtp-Source: AB8JxZo/jxTfSC58EttQERX4mdg3zztQ/ra8d/s1RskFnz5T8vRJ/s+IGVz2rCIN0Z+mYeY3SNYu6g== X-Received: by 2002:a50:aa5a:: with SMTP id p26-v6mr31411965edc.233.1525357580565; Thu, 03 May 2018 07:26:20 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id u5-v6sm8095647edi.79.2018.05.03.07.26.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 07:26:19 -0700 (PDT) From: Daniel Vetter To: DRI Development Cc: Intel Graphics Development , Daniel Vetter , Rob Clark , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [PATCH 09/15] drm/msm: Remove unecessary dma_fence_ops Date: Thu, 3 May 2018 16:25:57 +0200 Message-Id: <20180503142603.28513-10-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180503142603.28513-1-daniel.vetter@ffwll.ch> References: <20180503142603.28513-1-daniel.vetter@ffwll.ch> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP dma_fence_default_wait is the default now, same for the trivial enable_signaling implementation. Signed-off-by: Daniel Vetter Cc: Rob Clark Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org --- drivers/gpu/drm/msm/msm_fence.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_fence.c b/drivers/gpu/drm/msm/msm_fence.c index 349c12f670eb..6076f55a603c 100644 --- a/drivers/gpu/drm/msm/msm_fence.c +++ b/drivers/gpu/drm/msm/msm_fence.c @@ -119,11 +119,6 @@ static const char *msm_fence_get_timeline_name(struct dma_fence *fence) return f->fctx->name; } -static bool msm_fence_enable_signaling(struct dma_fence *fence) -{ - return true; -} - static bool msm_fence_signaled(struct dma_fence *fence) { struct msm_fence *f = to_msm_fence(fence); @@ -133,9 +128,7 @@ static bool msm_fence_signaled(struct dma_fence *fence) static const struct dma_fence_ops msm_fence_ops = { .get_driver_name = msm_fence_get_driver_name, .get_timeline_name = msm_fence_get_timeline_name, - .enable_signaling = msm_fence_enable_signaling, .signaled = msm_fence_signaled, - .wait = dma_fence_default_wait, .release = dma_fence_free, };