Message ID | 20240216065326.6910-12-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68125-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338799dyb; Thu, 15 Feb 2024 22:56:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtck7CpGIwwlU0NimjywJ9HpqTd5WDGcAQo3Nq2+5ccfhsrCSUD5VPnvhzen7M9aZ0lUECCqY6fHqwyZcUE2gHWMOBrQ== X-Google-Smtp-Source: AGHT+IH9lT+9M15SfCqqha872DID7KQwUjjwVJBEATnEBGF6YmvWsmXFW9ZRSPFHr9vGr2d5lPpb X-Received: by 2002:a05:6a21:31c7:b0:1a0:85ac:8c06 with SMTP id zb7-20020a056a2131c700b001a085ac8c06mr1865962pzb.13.1708066597947; Thu, 15 Feb 2024 22:56:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066597; cv=pass; d=google.com; s=arc-20160816; b=xvRT5MFzdFLdGzHLUbcegA6ZZ1YUr6DHqrjtL98JuJb9oQUPUHEG/AaB18vSVopyjH X+etUMcfNlJ3latsS2AGqA3hlQRQ3Mzx9yxVcTbNwY/JWxTva0rAyV5+HjjnV3SiZPU6 Cmqc57TuEgasZLKR13L7IT3ej5Y8r/sXnUi4cCNC2WQ82wJ40pJ9j7p6wNvoK6I6B3AS Cpq8/SMvz8NIL+i7ys5eFpL90RtCF9P8dweRQzg9rNvBrNSZoq8t6chioExRPHEIuiMs MsrFhGy4zKgHwV6MNvDwmQaMNEe5B4+PcMCUC32MePnPeydOFZnAZ8G6qWgBtSK34t3+ xwWA== 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=Hc4GYd00YXwWo/SSfa3ynoODglAmJEpi+A3amrzJV4g=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=t7uASCNS5ZUNfI791OLf2gpWEhOHURml58zGiPU00ajY8siJSjrZvErrRyDehSnWF/ Bfm8zTF5yxBfTZtQM8QfEKQLaT6W1Lb8fIa5m4Ebh43KsWajdlaeTzjoOH028DLXGGl+ 0Um5iL4X1o1BFUmiJ3rzj2Vk0q7hZu4sCzrNtlonx8BHDPPrhThdhpVLU48aQzKOW4w3 QcELzNdfvZRj1bs3sTrBF+wbm6Pn9uJ0MGiwX6D+jX3H5oOUsbLv9UKemayUrvCBxRv4 Awq8T7Ear7rNzp/u7d6cT/rFPOfnYiP+m0Y/6vGnQ0ZpbaMIgTtEtNbFNkZP/cICsHO7 sduA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bcPOWQoE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68125-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68125-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n4-20020a17090a9f0400b00296e7530e94si4274894pjp.188.2024.02.15.22.56.37 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:56:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68125-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bcPOWQoE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68125-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68125-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D2035284881 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:55:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E86651CABB; Fri, 16 Feb 2024 06:54:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bcPOWQoE" 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 642941CA9A for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:54:06 +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=1708066447; cv=none; b=slIgSeT+jAKm58vFmP9PFtQPXf9Rg/8QjnkSWymibO1j9d6Menhc07GQrK6GKIVAq0+ZzkPleNvWouL8sWPtgTNbqDiZK84pi5xX6qacLP2afQvUyjZXRde1bBXsJOY8HL18A2NItlseyIFuLaQLK9hO7hZGRxvTBlpoWojIf6Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066447; c=relaxed/simple; bh=D1UVKTUwrumNB4hwYMCCqn17XRjRd4Butj96fqO0Ms8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=A9hyfHQ4SOh9oWEn2kLpHuNwb08jjqdYzouTBnHs51Mjvz2NguEve5c4ZyGkX/IzuXgkabynnDs7VFPyEDdtoFO3TpNWcQzyuueMu3GAyylwwA04BMQcaxmHpIOTt7+5ZB1Q59d7Fq5rWczZPAZxBy6kImgbt6rqCfZ8H964j1M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bcPOWQoE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2D78C433F1; Fri, 16 Feb 2024 06:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066446; bh=D1UVKTUwrumNB4hwYMCCqn17XRjRd4Butj96fqO0Ms8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bcPOWQoEz23Zw9RUcbqEyl8B6I+N8c2+TNF+litP20oTavcBUp4OMcqgSikxs9hIy GBUv8uCuIGafuExHqqNKSGSexCkHq2tZl+4NTqRLuUSAQlAquRvyKfMh9ZEaDuWvYi 7Hwo0cJmbybLTXpfvhEU97F+owLSUn0nfuVr44SNOC4FBO5CBz3XdlAS87pPXo73RY YiUpVcKDF0HlR+Bii/IWPxg6+qMa7l4kjVr+djNQCMxDkEYj0v1QAnshCedXfLqx5M N68b3v8f0aCn+Hu6mL/eovXey2vuAviuiC0HezrAYj6ivjaPf2ow46KWtVaYYTAJRK uRSTpcFUqEYNA== 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 11/21] drm/i915: remove intel_vgpu_gtt::active_ppgtt_mm_bitmap Date: Fri, 16 Feb 2024 07:53:16 +0100 Message-ID: <20240216065326.6910-12-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: 1791037641401783459 X-GMAIL-MSGID: 1791037641401783459 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_vgpu_gtt::active_ppgtt_mm_bitmap was never used since its
addition in commit 2707e4446688 (drm/i915/gvt: vGPU graphics memory
virtualization). Drop it.
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/gtt.h b/drivers/gpu/drm/i915/gvt/gtt.h index fb96ea454fd1..cb50700e6cc9 100644 --- a/drivers/gpu/drm/i915/gvt/gtt.h +++ b/drivers/gpu/drm/i915/gvt/gtt.h @@ -208,7 +208,6 @@ struct intel_vgpu_scratch_pt { struct intel_vgpu_gtt { struct intel_vgpu_mm *ggtt_mm; - unsigned long active_ppgtt_mm_bitmap; struct list_head ppgtt_mm_list_head; struct radix_tree_root spt_tree; struct list_head oos_page_list_head;