From patchwork Thu May 3 14:25:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10378505 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 38BFA60159 for ; Thu, 3 May 2018 14:26:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2765429194 for ; Thu, 3 May 2018 14:26:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C40029196; Thu, 3 May 2018 14:26:53 +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=ham 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 8F9B529194 for ; Thu, 3 May 2018 14:26:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C1016E6FB; Thu, 3 May 2018 14:26:21 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id CF72C6E6F3 for ; Thu, 3 May 2018 14:26:19 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id a8so28717852wmg.5 for ; Thu, 03 May 2018 07:26:19 -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=gd8YOKDnYTAcs9z9PnQTKvc++g4nRBQarI5C2QinCtk=; b=RykyDpY53kLZ4NUZ0S2L0zNT3kTA/0JElZt/cVIPF5Xgew4iqMTjWXLg7v0RJkuP/l ZCAhg8Ht+vEluRl+pDqkZnm4mSlkPjyh2DH3QhpxSogZVKhIzQo9TYmozIsm25tcoFFk feiea6r2+Tv4n/uF6eFUSUZ0LFk8cHZ3b1NHk= 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=gd8YOKDnYTAcs9z9PnQTKvc++g4nRBQarI5C2QinCtk=; b=DpM8+mJBdHvQMDxZ/fEipZRTVyU4UtXv4PNEhOC0xE9+l0e/gHpEVhu+/wUAfo4M/G uNAJpQZKX9TGY7KP5No/WeUNn4c9dPT8T3Tvf63CfKh6dV6B3twSKCkk0nw8mDQdm3Dm ny3T8b46JQj9CtIO96njDQpd9HFnm/BWGkm3vpvGEK+lrkV3aw+7XNJRcl1dmh0JrIpx wxCiwQ3VRP6KNQLdeqA9WsGVv3eshJrbotbBAXEHjadzbbKhfTkoxxzq6uzx6fSgteJl 8x7jShLlmqgK0FSeGdxChsMVLKUg/mT7czPlw1hzK4Hs4hDNN/aAP0xIBoyo83BrUrNP myFQ== X-Gm-Message-State: ALQs6tBOcLidawcuySbokJfqVmorwtHgqEMAK1dM5NikdeBCH7A0Bhr3 uVMgsUQpqlyCA1Ytn4ciW/qjeQ== X-Google-Smtp-Source: AB8JxZqafoXXzzhNFrdC3M/o8/TK/7R08uzDtzYiPSxV9/JrOIhDXpm+F7BSjxZU+DQTYG19EffYNA== X-Received: by 2002:a50:cd8d:: with SMTP id p13-v6mr12560773edi.159.1525357578179; Thu, 03 May 2018 07:26:18 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 07:26:17 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Thu, 3 May 2018 16:25:55 +0200 Message-Id: <20180503142603.28513-8-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> Subject: [Intel-gfx] [PATCH 07/15] drm/etnaviv: 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 , etnaviv@lists.freedesktop.org, Russell King , Lucas Stach 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. Acked-by: Lucas Stach Signed-off-by: Daniel Vetter Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: etnaviv@lists.freedesktop.org Reviewed-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c index 8a88799bf79b..b78d9f49aa23 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c @@ -1038,11 +1038,6 @@ static const char *etnaviv_fence_get_timeline_name(struct dma_fence *fence) return dev_name(f->gpu->dev); } -static bool etnaviv_fence_enable_signaling(struct dma_fence *fence) -{ - return true; -} - static bool etnaviv_fence_signaled(struct dma_fence *fence) { struct etnaviv_fence *f = to_etnaviv_fence(fence); @@ -1060,9 +1055,7 @@ static void etnaviv_fence_release(struct dma_fence *fence) static const struct dma_fence_ops etnaviv_fence_ops = { .get_driver_name = etnaviv_fence_get_driver_name, .get_timeline_name = etnaviv_fence_get_timeline_name, - .enable_signaling = etnaviv_fence_enable_signaling, .signaled = etnaviv_fence_signaled, - .wait = dma_fence_default_wait, .release = etnaviv_fence_release, };