From patchwork Fri Apr 27 06:17:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10367469 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 98B6B602B3 for ; Fri, 27 Apr 2018 06:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 891A528236 for ; Fri, 27 Apr 2018 06:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D86428385; Fri, 27 Apr 2018 06:17:44 +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 17A5B28236 for ; Fri, 27 Apr 2018 06:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757299AbeD0GRm (ORCPT ); Fri, 27 Apr 2018 02:17:42 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39787 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757286AbeD0GRm (ORCPT ); Fri, 27 Apr 2018 02:17:42 -0400 Received: by mail-wm0-f67.google.com with SMTP id b21so802072wme.4 for ; Thu, 26 Apr 2018 23:17:41 -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=S/JOvEp5JBdb07cBG/414ccAxzTDWemaUg9FXoRkEr11or2k/POFqIuuJHNlImVMOm /CYa3PB3nq/WmQvwF0SOFymUknqA89nWR0msLeIFbsTZsqjyq8HXFDMTVphwgaRvh787 USWqny+qTRxp+kfofrebevh8rA8MTBQEKiNY4= 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=IvUvD1soEeG62YYILKJieCCakhxYlJ6jPiUqlwkA+UNI7ppBzCst806WiC/kzVh4bY IGYpYtqiywQ3LgTg6yEwKm0r0M6bzJydBh4LGVuOmcVe/9NIy5OvAxeqwBKOuLHo589P KzDR3w8Qn8tkMceSqv3gjhOMM/F4Qx26egrhzSmQSGcOdNUVJJN4B7uHc7US5l0Q20Pi mFcXPON3dOXQQw82kJvl+MMBWFJHmAkOnZ/22n3febODJUxmFKbMfWedWRy4Dda2Pyg6 8MNQ2/nRvX25JZ1IuLkT4x4A4G1aiE/UvRrkoZp41VazB2T2y5mFkpwwg+78ih8zU4cf SqHg== X-Gm-Message-State: ALQs6tD2hsUdN0/oNE/O4UnYeWPbyDAtCm8qEid/41Ju1fFpFGb47w9g 7O8p5iRoEaX345Etw1uv4Wfsim/p X-Google-Smtp-Source: AB8JxZp9rN9Vx+C/B0kLJsUPemgNOCpEZP+SJo0M/04sIuDFJOZi0QBOTnfIizKopwv9tteA8ngPpA== X-Received: by 2002:a50:f5ab:: with SMTP id u40-v6mr1682725edm.93.1524809861044; Thu, 26 Apr 2018 23:17:41 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 23:17:40 -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 10/17] drm/msm: Remove unecessary dma_fence_ops Date: Fri, 27 Apr 2018 08:17:17 +0200 Message-Id: <20180427061724.28497-11-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> 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, };