From patchwork Wed May 2 08:23:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10375217 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 5363860234 for ; Wed, 2 May 2018 08:23:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43FF325D99 for ; Wed, 2 May 2018 08:23:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37CCC28DC3; Wed, 2 May 2018 08:23:20 +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 B489225D99 for ; Wed, 2 May 2018 08:23:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 74A626E514; Wed, 2 May 2018 08:23:18 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E7686E510 for ; Wed, 2 May 2018 08:23:16 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id f6so21248681wmc.4 for ; Wed, 02 May 2018 01:23:16 -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; bh=eobdkAkA2H0D4WNcUiu7/pL72vEIW43nqpk5YtxTHJg=; b=h4duR1iSYlin7oQNW7UQepdbZD9r2GhDqNZLvNgWkmtq789VtVhJrTlNx7SF8Gd4kQ gqUz/WV/vo+iT0C/A8bcREfIiN8K1A7DnWroh0zfGmgDrOFLece0FB/V5CDx2Jamm2Gr JAvSuCEWPBclq5RqAOFSuDyxnOVOJRbSUoxq0= 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; bh=eobdkAkA2H0D4WNcUiu7/pL72vEIW43nqpk5YtxTHJg=; b=UTSm98S8R36WbyDMqzarDCJ15aAKsS9jfT+cIVKG3xyV55T4pEyPmVeCEXwATb89Wv GBUmOvelZnwQBs06j28GoZqYjncoktmEfkZ0eOhZ1jaCeK6gQ4WkjZwJXR6oASpf8izg h7KoS0bzpuxn4sOQ442N+jnioL8Wk8zjRbFh2wUDlBCLYj7cq1OS7Eqc1PkdB8b1IKXH 7VGBvq/UwSlEbqIstDytp2qDB5oYBCuXqNBkjOrVYlCg/UbuaRefrhKzgJxyVcmEtUM+ j6jRruETGTt3Yjr4BDFgkOmvVTmD6UUuJR+L6IPNgC48hY3rZSdjgPlz1T3WVlnJuUHE eGmQ== X-Gm-Message-State: ALQs6tBRzNgzYs3G54Kx4Zt3TNtLTqX5EiukpALElRBha6/jgU5+S3k0 jkwko/srPLZZhj13Cr6iLn+0sA== X-Google-Smtp-Source: AB8JxZpewVSqevl7Ihq3RumfdZv1D2e/uXonVpgL4uzlrWuPX8qj6FQakmBmeZSJgMNho3oAASBiCg== X-Received: by 2002:a50:de8d:: with SMTP id c13-v6mr11756718edl.76.1525249395202; Wed, 02 May 2018 01:23:15 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id w1-v6sm6680175edk.82.2018.05.02.01.23.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 01:23:14 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Wed, 2 May 2018 10:23:09 +0200 Message-Id: <20180502082309.30177-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.17.0 Subject: [Intel-gfx] [PATCH] drm/qxl: 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 , virtualization@lists.linux-foundation.org, Gerd Hoffmann , Dave Airlie MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The trivial enable_signaling implementation matches the default code. v2: Fix up commit message to match patch better (Eric). Cc: Eric Anholt Reviewed-by: Eric Anholt Signed-off-by: Daniel Vetter Cc: Dave Airlie Cc: Gerd Hoffmann Cc: virtualization@lists.linux-foundation.org --- drivers/gpu/drm/qxl/qxl_release.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index 7cb214577275..e37f0097f744 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -50,12 +50,6 @@ static const char *qxl_get_timeline_name(struct dma_fence *fence) return "release"; } -static bool qxl_nop_signaling(struct dma_fence *fence) -{ - /* fences are always automatically signaled, so just pretend we did this.. */ - return true; -} - static long qxl_fence_wait(struct dma_fence *fence, bool intr, signed long timeout) { @@ -119,7 +113,6 @@ static long qxl_fence_wait(struct dma_fence *fence, bool intr, static const struct dma_fence_ops qxl_fence_ops = { .get_driver_name = qxl_get_driver_name, .get_timeline_name = qxl_get_timeline_name, - .enable_signaling = qxl_nop_signaling, .wait = qxl_fence_wait, };