Message ID | 20240216065326.6910-9-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68122-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338959dyb; Thu, 15 Feb 2024 22:57:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbYz8iDvtI3RvVpSlbkdh8ue2WjyH0oBXIJpX67CruaiRQ/plgs3ybrwfiwfZ3MomN40v6G2rxx4tRAoYs2PHy0L1Z9A== X-Google-Smtp-Source: AGHT+IHQECMttcIcwj5rHkMdAfaOtwTND//g8jRY5e4XV0koGuVyfC0wWiCLv2IN2xu3f9oo2WZr X-Received: by 2002:a9d:6c04:0:b0:6e2:e185:d817 with SMTP id f4-20020a9d6c04000000b006e2e185d817mr4951419otq.0.1708066630329; Thu, 15 Feb 2024 22:57:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066630; cv=pass; d=google.com; s=arc-20160816; b=of+6S2nXWm6FV7QZmXoGBJA9rkkOMngJdDlTGlz/0G2Uxj4PI4Q2z6ObAisvi3jwz0 2m7ewAKSxrro1gKRAqii5FtgPXnzoFfnxzHbCHc0A4X6RNL1IBEnbPVJhiuAEkb+qIZE LDS7PSl8kXgcxuvOUTK3jv7yyCVTzX9L/9eu9Es6ZzzUyn3dEzs3Y36ZiktdgUtug60U QB9SWqVY/Euw0MklZbGFHyToRj0LQeOj/xQ6gadgAZVPsGHytvnk8g3wYxnA52YDVHRi nM0n8y9wJ/AWfxe8KrhdfIUq6q0TUa3fJ28MI8OKmnLYIeVUcD96SNDJMCNptqs+GBB0 sE8A== 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=Aq+GR6mr8fDdmdokXCks4Sdw7BHX4ntxxfClRNazpag=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=GLGkgt13QMTqftrYR+r7VlpndqeHcUcglbFj9blme3fYnoOSKaNvyVkq/rqAtdbcu0 FbqF3rVredjPFDNT++E4x9a5xSnQRQ5GnBCXs7I4JoKhGalBC27BB94GvF+d+ia8T2si Dy80P7jfehagaegVefDjCXh1ISDbLqUuFMmW30ETxWnij13Vp0uQnz2aFxLzL2utwGQ1 OZ23Z6HjtKf7JZbqMJyqfehMZA9YF0Y7PN2CZOBSDnPy0ZqB66aCvC8FqtWoh6hRbEAm me2UtE/WCzeSrjtlApwMz8jH3uZZO9Cj9ZR82lZFv3dEvGfW69mEPPRJCmyz4a+wKXev S2Nw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X7EaO9HR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68122-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68122-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k6-20020a632406000000b005d8e401b4a2si2426719pgk.801.2024.02.15.22.57.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68122-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X7EaO9HR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68122-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68122-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 687E6B24268 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:55:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FB841C294; Fri, 16 Feb 2024 06:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="X7EaO9HR" 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 9A2E71BF34 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:53:58 +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=1708066438; cv=none; b=eXC/j/67ab+QIF5lufZa4sB0G6F1f+EBkHQ41iUK+OYTNmp7R/6Uphu2Y/N0eBIgnPauCNx/luJFzqQC8E6dWAzehRZmx6AfNNGhgEovZyq1ajWiueRKQu9oUSD7/BSHCHg4/qJrhxS8jedIJ+Rfzs29P8GrQQxHKDqhfWiQ0F0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066438; c=relaxed/simple; bh=xAhGbARzs83EneUXBDZflPwViGnccMXkpjIP1CYeQhA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k6B5CUeWlICT2EMU9/vol1aBW2keH587rVsS7HgblEtOfy7Dd6IIuOut5z47oVwA9Tq3tUSW202A8kB/Y51iKlGRdJM7NupDuzwkT0SS5gSpvB/E9LfoGsDm6xzOx9SnUhp1JnU0PI+ogpWsDb75tj0tyeN1VH1SmuMXSIcg2l4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=X7EaO9HR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1FF7C433C7; Fri, 16 Feb 2024 06:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066438; bh=xAhGbARzs83EneUXBDZflPwViGnccMXkpjIP1CYeQhA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X7EaO9HRGWuJT9OQFFjFHOAEGCSPJNOQSEQW0OotFJMCh7gKgYIKkMgYhYMzAWg9v qfpU8ExWaTf2OiwDh6c53Ac7/1HYTXPhh8A4fkDq/nCoduEvxlSW5EwGNsEq5J8nZx 2qpItkKEWsQ+JyzTFRXoPRNjaX061QSbmI4gQ7YKSR6YwV0Ex3jI3HNSIyEmJuFnL+ B+mbyNcy95vWmTcsE140ztEKmi/9iquKXznkR58v1/wo+m7TpRalI4f/dqHyYkdMwk P8jXM54QskG/ecIOS/wDcQFhiw2xjKEM7sC2BYuIdwyRGOg02R29XGzsgOGMKQag2p 8pfD4dIju9SlA== 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 08/21] drm/i915: remove intel_guc::ads_engine_usage_size Date: Fri, 16 Feb 2024 07:53:13 +0100 Message-ID: <20240216065326.6910-9-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: 1791037674813659230 X-GMAIL-MSGID: 1791037674813659230 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_guc::ads_engine_usage_size was never used since its addition in
commit 77cdd054dd2c (drm/i915/pmu: Connect engine busyness stats from
GuC to pmu). 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/gt/uc/intel_guc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc.h b/drivers/gpu/drm/i915/gt/uc/intel_guc.h index 813cc888e6fa..be70c46604b4 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc.h +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc.h @@ -206,8 +206,6 @@ struct intel_guc { u32 ads_golden_ctxt_size; /** @ads_capture_size: size of register lists in the ADS used for error capture */ u32 ads_capture_size; - /** @ads_engine_usage_size: size of engine usage in the ADS */ - u32 ads_engine_usage_size; /** @lrc_desc_pool_v69: object allocated to hold the GuC LRC descriptor pool */ struct i915_vma *lrc_desc_pool_v69;