From patchwork Fri Apr 27 06:17:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10367529 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 DCB74602DC for ; Fri, 27 Apr 2018 06:19:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDEF728458 for ; Fri, 27 Apr 2018 06:19:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2E9229301; Fri, 27 Apr 2018 06:19:33 +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 6E64628458 for ; Fri, 27 Apr 2018 06:19:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E61666E7E7; Fri, 27 Apr 2018 06:18:13 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A9666E7F2 for ; Fri, 27 Apr 2018 06:17:47 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id o78so822847wmg.0 for ; Thu, 26 Apr 2018 23:17:46 -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=sSaPejHFawpOO4b02wLYolUE+XDlNVj50OpIPy2u40M=; b=LYOlGSyTOq1muVJFpNlzxkcFev7KQN5iD01O+q3/Yl+gUxV9eTvQZAWX7LR7NXu7Jn FygtoCFF+5f5Wrd99o9N2Kdm7yO6YbwL5hJeVQ5TWwBYY5rkR0jYgKJv/S6ZENYlfT1h KzaugQUQ7AMOJiUjJGrwJaFlTZp0QWWTRPCCs= 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=sSaPejHFawpOO4b02wLYolUE+XDlNVj50OpIPy2u40M=; b=OtpEfrLeL0cvAiV/EvTIpmC4A7SvoVHTSLPz+5I6bL4ES21D+sHBJjFg7jIRl8NJJ4 ZBgpkygkUsRt/5CYbN0xU7Qk+zema2j8w1wR0vch9K2EXYMLZL5IWwHQqejJxnAHsJiZ 7Fvswbi2fkfuP+WSq6b3sYVwbpaQ2MnroFZJ2vRX/cD91DyVth1hGtxe9EGNzR/5wYtu 8ICEbTH6maQZYsFc0XPwMRIn03y5y6kv5hIk23ZEvGXahfp4jBqnZXEtFDhDPp58L9Lh GhyoGrdQDfk/SXF3jUlQGmdP1pC2gXkHErjnXw8Lh/CDFBHwTBosdlSnUGmK+LcN2GB+ a02w== X-Gm-Message-State: ALQs6tBmLLZ/buG4q0yr50z00ODWnrxyjHZ9sWoWEmgYj9q9Y3xGwRR4 G7MljPKmamNd+f4Jwo7t+ut17A== X-Google-Smtp-Source: AB8JxZqSZaCKBdmsTbJDWNw39KHkM3q3TJv2JBg3JYhvJ8pbV6fBb9IFKFKCZnecAWifF4/W1THjbA== X-Received: by 2002:a50:f61b:: with SMTP id c27-v6mr1719210edn.196.1524809865579; Thu, 26 Apr 2018 23:17:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 23:17:44 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Fri, 27 Apr 2018 08:17:21 +0200 Message-Id: <20180427061724.28497-15-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> Subject: [Intel-gfx] [PATCH 14/17] drm/vc4: Remove unecessary dma_fence_ops X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Intel Graphics Development MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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: Eric Anholt Reviewed-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_fence.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_fence.c b/drivers/gpu/drm/vc4/vc4_fence.c index dbf5a5a5d5f5..9f40c0ddadc4 100644 --- a/drivers/gpu/drm/vc4/vc4_fence.c +++ b/drivers/gpu/drm/vc4/vc4_fence.c @@ -33,11 +33,6 @@ static const char *vc4_fence_get_timeline_name(struct dma_fence *fence) return "vc4-v3d"; } -static bool vc4_fence_enable_signaling(struct dma_fence *fence) -{ - return true; -} - static bool vc4_fence_signaled(struct dma_fence *fence) { struct vc4_fence *f = to_vc4_fence(fence); @@ -49,8 +44,6 @@ static bool vc4_fence_signaled(struct dma_fence *fence) const struct dma_fence_ops vc4_fence_ops = { .get_driver_name = vc4_fence_get_driver_name, .get_timeline_name = vc4_fence_get_timeline_name, - .enable_signaling = vc4_fence_enable_signaling, .signaled = vc4_fence_signaled, - .wait = dma_fence_default_wait, .release = dma_fence_free, };