Message ID | 20240216065326.6910-5-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338205dyb; Thu, 15 Feb 2024 22:54:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXiQK5M4tYznOhJGpbkGrF9mla+sY5tEg9W4PcXQkze1RQ0VYwaXrpPhBcKIvpAVE+S3xtajbNtLkTJ+RbjB9mFNNnQ7Q== X-Google-Smtp-Source: AGHT+IHQhE4qVIPy3r6SOlXb1TnefuQ0sIho4B1tBysMe6vyqv7SgH2tEyL9FWg6B34pRfppHckq X-Received: by 2002:a0c:f5d3:0:b0:68c:46e0:78d with SMTP id q19-20020a0cf5d3000000b0068c46e0078dmr4020272qvm.45.1708066475119; Thu, 15 Feb 2024 22:54:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066475; cv=pass; d=google.com; s=arc-20160816; b=WvTSYFhpxz1/vZjtfcvQzPlcMSCVi7crRRwsytOqHQMoFM9dmeaXsFurqba1xTQPRA IO+tDoD7qgNLhwtIwsD/pen7ieddsLE+eHu98eOdeaXP9Ig56rDVVe6IRmp9LsIc+5Ih mts4AUrV4NF1DPyBDT8mIYPjc4hr43AKHNBtT9wYSLrw8npFglrmxr2/Iz+x2yYKUofJ qwSOu/OVtwyWrgXkuOR7FDc52HsW75Bc6JuQhwvmndkNp27Ke6d3mnhNUTfAHov4KLQ2 i+47kiXZdsB7StpBQjT1tYl5Kyg4zSRVY8lDFZehN1PYL0qPyQWEnlc/ecLwWphjaqRh onhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gYKsDUiTrx9yPA28Ee/9jsC4zNpN7cDhlXDYddHkwdc=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=i5ChR4iP8o9p8aSU++C0Ss8QTK2c/KnUaWsXR6v0ughIZQPF142t0SLBeWeFvfLzPh o9vYKmYrffyeDaV/piOq8o6GLhfiNUJyAhhlYgBQGF97G5UkRbf4xKI51Ic0Qyu4ypN+ Opr7+ELBP6h1lBAj0IrYeAuYXU0smHDYxH2L2P69AN/CTERPuZd7EndmXo/TZX7IVu47 Awzay17bpW9SzkcqKs603dnnfhaPWZjjF2YL3hLA3qnwioBDD3m5oR6e/MWx3c2fplTh P4xPyXH2wB5V5kcz9d3t+7eqqjfELrMSoJNwQXvgq+7PuNWwltfgNiSuf49AWJSqotAE kBfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AZfOy8AS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jf9-20020a0562142a4900b0068d03eaab18si3283264qvb.404.2024.02.15.22.54.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:54:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AZfOy8AS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68118-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D26801C22692 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:54:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1676C1B803; Fri, 16 Feb 2024 06:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AZfOy8AS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FA6C1AACF for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:53:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066425; cv=none; b=PpCgHPb9LglTOExvlYii0gIm5IeBWxP7C9W+eTm/8F+535E43qChkaOKiauStnqQtYqBw99TiRlEysCyJu4KXyzupg7P/lGUbpwpoKXowEbpgiJDDihfXKYKtvz1SyR8CHxPkXPMzoNs2zJParLMX/jaqFT8TnyfmitQTrGelqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066425; c=relaxed/simple; bh=sH0FzSylb4GHpKMjELKxOSqoIZwIATsF0+uo2uRnxfE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pQeU1QnNHcBeP/jH1TVpk17YEZVc5zTv1EB0Z2zUGleWvhLiu3Yx3MhjABQMPOzODHVs7EqqV5eRj9q/lyjPvh9IyfmK3GsEA1FB1fUwxux8UEuiG4I0cZR7ESKAl55a0Y1Kf18hbf/Wf3/7RuL/mxoGXpmyAGuuZ1m6s7X2HtQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AZfOy8AS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 932E8C433C7; Fri, 16 Feb 2024 06:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066425; bh=sH0FzSylb4GHpKMjELKxOSqoIZwIATsF0+uo2uRnxfE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AZfOy8AS1VK794BqL6EDv6yN4/raYXNT5U7KlgAdOJiZS4GPNDzMCLba4+68d/6CH fQweIQd5bMxXv8H33HHDsDkqEnikj528gOFmAc3ypAnDT2qYip7vOoZOqlYZuRGorc xeiSKoxWi7pPX0S3hJF9YETECd9RujLyhyKZqqV/lcAQOClVYwOFp9EnO39LsUSKG1 aFFlIuiXlycxCnHFJ26ihTzCPz7pfYIiERAKyExjotKbiIzg9VuxrVuoFvvaac2nFj 0M07qcJK7luruzbR+Ai8jXgBVZcXkYWynqFyfjqq4KEm4LqbG8gpdPvoIp/BxqfDug RfX7JfabFHc0A== From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, intel-gfx@lists.freedesktop.org Subject: [PATCH 04/21] drm/i915: remove intel_gvt_gtt::{mm_alloc_page_table,mm_free_page_table} Date: Fri, 16 Feb 2024 07:53:09 +0100 Message-ID: <20240216065326.6910-5-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240216065326.6910-1-jirislaby@kernel.org> References: <20240216065326.6910-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791037512269604859 X-GMAIL-MSGID: 1791037512269604859 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_gvt_gtt::{mm_alloc_page_table,mm_free_page_table} are not used
since commit ede9d0cfcb78 (drm/i915/gvt: Rework shadow graphic memory
management code). Drop them.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
---
drivers/gpu/drm/i915/gvt/gtt.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gvt/gtt.h b/drivers/gpu/drm/i915/gvt/gtt.h index 4cb183e06e95..fb96ea454fd1 100644 --- a/drivers/gpu/drm/i915/gvt/gtt.h +++ b/drivers/gpu/drm/i915/gvt/gtt.h @@ -93,8 +93,6 @@ struct intel_gvt_gtt_gma_ops { struct intel_gvt_gtt { const struct intel_gvt_gtt_pte_ops *pte_ops; const struct intel_gvt_gtt_gma_ops *gma_ops; - int (*mm_alloc_page_table)(struct intel_vgpu_mm *mm); - void (*mm_free_page_table)(struct intel_vgpu_mm *mm); struct list_head oos_page_use_list_head; struct list_head oos_page_free_list_head; struct mutex ppgtt_mm_lock;