From patchwork Thu Feb 2 15:02:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9552191 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 8E94660236 for ; Thu, 2 Feb 2017 15:03:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88EE527FAD for ; Thu, 2 Feb 2017 15:03:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D3982815E; Thu, 2 Feb 2017 15:03:37 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 42B8427FAD for ; Thu, 2 Feb 2017 15:03:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 95FA66EA51; Thu, 2 Feb 2017 15:03:16 +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 D84896EA4F for ; Thu, 2 Feb 2017 15:03:13 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id u63so4750133wmu.2 for ; Thu, 02 Feb 2017 07:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ribi2j1ECBXhiYhO71deDvo7mxpSufJH2aXSSTiTC9k=; b=dJuLFLTb2RRZyEkSBOUyKs029B5jZudOq7wkqXaeyZmfx2iteEoX2ZRZLm5GX/Uoyo tAI3ER0sHutpZAkiCNGQRjNBp8KPaayN6cJ9JqAY1xVloJ3LmXVeexor/590yeqJA/BQ ue/WAauTil3RlFSghqxa7hSIXe2Q/yMHQNXjGcNsy7mIA+ACeFNJdvBC7+auM8ji5L+F ZC111177uctwLEhzzU/CjY2rWog1gfg8bwuNPcEHr2Yv5c6PhFndwTjIKBqGYF4qsbhG KPNw9gDRv+dJvUZ6WLKc6mMQacdvjcYTcTiCgFC/vxwuhwVYN837SgzEN4NlAD7FU2fY hzJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ribi2j1ECBXhiYhO71deDvo7mxpSufJH2aXSSTiTC9k=; b=sRPInlpVzWlqI6j07UmTh0yI8Iz3nZDSR9xYzGp8w4XMe/M55pVqZyXb1WG1Mh1GgT Wr8PnTam9XbG2FCupFZGzaJjMev3Tm0mDRJQb+Kn192vS7AWZJioxCPqYcqUrSp8dKrX uQkcycecBfmsYyu3afRI8XTbhNHEDciq31pG0/DkgDgK0lr9FBkQLHdBecCpD8dfNKbS mQv7lhEDhNEqNIJ631SvxxzWlpmqFzyfU7GqHIDU3Nw5lY2IfU9TqDT+WXhoMdYuXq0z CQcjwFUusSAtxhoXepfrFLRMskiH/V4pPTdvIdVRFPOAUEnQ9IL1g0v3rCEk57Ig8XeC F/YQ== X-Gm-Message-State: AIkVDXIfXyVyeuscLl4BFTWM8z61Spp/fyjGuWfVgsvJE5txixzhHD67m5S8aBwxKD3bKA== X-Received: by 10.28.15.202 with SMTP id 193mr7667019wmp.99.1486047792104; Thu, 02 Feb 2017 07:03:12 -0800 (PST) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id i29sm15001899wrc.25.2017.02.02.07.03.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Feb 2017 07:03:11 -0800 (PST) From: Chris Wilson To: intel-gfx@lists.freedesktop.org Date: Thu, 2 Feb 2017 15:02:48 +0000 Message-Id: <20170202150248.27860-19-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170202150248.27860-1-chris@chris-wilson.co.uk> References: <20170202150248.27860-1-chris@chris-wilson.co.uk> Cc: mika.kuoppala@intel.com Subject: [Intel-gfx] [PATCH 19/19] drm/i915: Remove unused ppgtt->enable() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP We never assign or use the ppgtt->enable() callback, so remove it. Signed-off-by: Chris Wilson Reviewed-by: Joonas Lahtinen --- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h index 5af5a5d53d93..caaa2c5c23be 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.h +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h @@ -382,7 +382,6 @@ struct i915_hw_ppgtt { gen6_pte_t __iomem *pd_addr; - int (*enable)(struct i915_hw_ppgtt *ppgtt); int (*switch_mm)(struct i915_hw_ppgtt *ppgtt, struct drm_i915_gem_request *req); void (*debug_dump)(struct i915_hw_ppgtt *ppgtt, struct seq_file *m);