From patchwork Thu May 3 14:25:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10378507 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 EAFC660159 for ; Thu, 3 May 2018 14:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9A8129194 for ; Thu, 3 May 2018 14:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE89029196; Thu, 3 May 2018 14:26:54 +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 6A42D29194 for ; Thu, 3 May 2018 14:26:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27BE06E6F9; 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-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B9916E6DF for ; Thu, 3 May 2018 14:26:17 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id f6so28721965wmc.4 for ; Thu, 03 May 2018 07:26:17 -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 :mime-version:content-transfer-encoding; bh=a6+kmWzZ/whZc6ox/101HN/jr4DwWXpQERJeQ5w97Pc=; b=K8e/x+J8G+KEMz3PuZq/5+gdM8p4EKxWrD9pfsxWglEH3GwKqbv+b5bipwT56CIZTy IAIpWOS5iVytO5MYJsv7Do5TLCKf+l+6R++PtrxAe4jfT2wFey06FkFDpikdraGh84Gg A/zmBciPpFS1194xpKhev05//RsX9qUUne5Pg= 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:mime-version:content-transfer-encoding; bh=a6+kmWzZ/whZc6ox/101HN/jr4DwWXpQERJeQ5w97Pc=; b=jvL3USCPq+m3BecUFL8qMBNpTlaC7vIgothG0BAUxbNh8VpHuhyURW0zE6Jd7bY4G/ JMBAYhfJBX9DbVWlmKWZmTTEP4Gc7PLcqwUFp1uYpcmQgeerF7khFsdC5OGk1ZDg/Bcf 64sIqF8/PWT6klnEGbBaO8OWqxVviiKbSNE8sVfmWzqMFLQQY+RRgNJZidciPP3aeV7d QMmilTCjPePH3CbJh0JOvUZzDhnViWx3B10UMgOH4WZvGzn56jXen5D7Xlh3vISsLc/E HrdTN0HcQukBD1GmcOhQrrE2+M6l+SppZkFSG3t//v9bcnPtlhOr+gwCuhEJH5cRBe0f 3ZKw== X-Gm-Message-State: ALQs6tCM5A7OkvOndskNPDzNuJVWfS4mqJm/oslHMZoFDv7hxMZ112da owMjQV0CmbSJY2q0INu0Vp7muA== X-Google-Smtp-Source: AB8JxZpZ647H2wDvIxnvbTZiyiViluPpKD70pSxAZH9KVkvmjWAMrNPdv/3z3c+EAVKRk20zifAXiw== X-Received: by 2002:a50:95db:: with SMTP id x27-v6mr31030975eda.99.1525357575780; Thu, 03 May 2018 07:26:15 -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.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 07:26:15 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Thu, 3 May 2018 16:25:53 +0200 Message-Id: <20180503142603.28513-6-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> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 05/15] drm/amdgpu: 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: Andrey Grodzovsky , Kees Cook , Daniel Vetter , Intel Graphics Development , pding , Alex Deucher , Evan Quan , =?UTF-8?q?Christian=20K=C3=B6nig?= , Monk Liu 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. Reviewed-by: Christian König Signed-off-by: Daniel Vetter Cc: Alex Deucher Cc: "Christian König" Cc: Monk Liu Cc: pding Cc: Andrey Grodzovsky Cc: Evan Quan Cc: Daniel Vetter Cc: Kees Cook --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 2 -- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c index 2c14025e5e76..574c1181ae9a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c @@ -173,7 +173,5 @@ static const struct dma_fence_ops amdkfd_fence_ops = { .get_driver_name = amdkfd_fence_get_driver_name, .get_timeline_name = amdkfd_fence_get_timeline_name, .enable_signaling = amdkfd_fence_enable_signaling, - .signaled = NULL, - .wait = dma_fence_default_wait, .release = amdkfd_fence_release, }; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 97449e06a242..9dbbd69dd2b6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -645,7 +645,6 @@ static const struct dma_fence_ops amdgpu_fence_ops = { .get_driver_name = amdgpu_fence_get_driver_name, .get_timeline_name = amdgpu_fence_get_timeline_name, .enable_signaling = amdgpu_fence_enable_signaling, - .wait = dma_fence_default_wait, .release = amdgpu_fence_release, };