From patchwork Fri Apr 27 06:17:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10367485 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 8173A602B3 for ; Fri, 27 Apr 2018 06:18:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D9FC28236 for ; Fri, 27 Apr 2018 06:18:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5280628458; Fri, 27 Apr 2018 06:18:00 +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 9580928236 for ; Fri, 27 Apr 2018 06:17:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 092036E7ED; Fri, 27 Apr 2018 06:17:46 +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 341F36E7D2 for ; Fri, 27 Apr 2018 06:17:40 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id m70so381767wma.2 for ; Thu, 26 Apr 2018 23:17:40 -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=52n5LzYvciVHglfftc/a1WD2NChMFCuKmsrbQWqZ42o=; b=i4GAbAvJf1mYDXzwhorifimFhznFH/zJXtsVuhJYtTRoJQBHloNiQxy2c8QNeekrDn jmjqVHbopI1iZ9sCNlicNL791wt1K5fx/JV0qCjhlz7ZssGDcFjpH84eH8KFHx5tSAXh PLGbTGfiWzQiZ6Yo0yObj8uMoK5ISaWrJBdvE= 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=52n5LzYvciVHglfftc/a1WD2NChMFCuKmsrbQWqZ42o=; b=fCnuRWXWyHt7HmNxLqPRfj+vvIMIvSnzeDbQS8Ke9Mfd8wBrGDgQhfiH/eF4utUVCh VECMz03SErpPd24Bt9gJ6HPmMKZbZFNMupxDNp3jQ9+wcwEVKZ8bGgty7kFtIKq1NtKe YERI1000M8Xh55Kg/hwfjVTi1BW7ywisC8keoQpkjRaKAwyagtAKTCzvwSdBqjhtPpO+ /uWpv2507jHmxZS1ajiqYWcWfKL8UzQmFpnOa4CxCIfY5rXW3ttsYmTALR7I+EeAjQ88 o19IUbEAV+YSMyrQ0duc2iQqsJQ3BSig/8OHFtKMDfg38NNkt2sgOaMcrxF+qjcMd3Jc PRDw== X-Gm-Message-State: ALQs6tCs6RecOAznbIXNbQdXlgtpUXsFnxF80lQ0hNjRjwXEw6Aeg4XO szZ6155aidKDHw//kNWd9IBx5A== X-Google-Smtp-Source: AB8JxZoxVuGILoMF/Xa86NTw/S6vJnw20QlLp9Fs+3fVP7Zt5HcdVBHJz4/ONCaqEudyJqnfTQCnGQ== X-Received: by 2002:a50:8882:: with SMTP id d2-v6mr1716256edd.239.1524809858904; Thu, 26 Apr 2018 23:17:38 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 23:17:38 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Fri, 27 Apr 2018 08:17:15 +0200 Message-Id: <20180427061724.28497-9-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 08/17] 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. Signed-off-by: Daniel Vetter Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: etnaviv@lists.freedesktop.org Acked-by: Lucas Stach --- 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, };