Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp928218rdb; Thu, 15 Feb 2024 22:55:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOvBQk2zBIkN9pub6K3Vm+8/kg1aQpB/aaIJtcA7RLeVucrvBApGP+lH5iXrpcuqKBQ+TqSeLKDU7DEfvEa2fAPnFi7j8v8sRDtvtvPw== X-Google-Smtp-Source: AGHT+IGtWln4caOPJwznQKkFtxlCzddYOt81sWLkpFtNxJYWY1rhOxdvYayiJD4W75P0HmckPA5b X-Received: by 2002:a17:906:eb4c:b0:a3d:841e:3d74 with SMTP id mc12-20020a170906eb4c00b00a3d841e3d74mr2597033ejb.56.1708066516954; Thu, 15 Feb 2024 22:55:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066516; cv=pass; d=google.com; s=arc-20160816; b=e1vEKrbrnvvJCJZstoaIAIvYUwve257Zlud85TrshDG+wwU+GbqItwN9f0U41LYoep mdprVZQKbEU61LMA7IxiaogHxEqYvCPIdtkYMk/mQrgUQsRmdorS+c/TfMimZUOl14X4 0Sf4IpQ2oBf2067Gy0Kt6jPU8cDRNP7fB3QPjCOL4PEwEIyc8xNQvwP4Mn/aOxcvbise AIlT43wQSVlIkPjv/LIaHV5sz/6brI5uvD8vU4YZTWkw1TRU2FEOBWMdrZ857dY8wV88 s6j53PkN3e6aUtNv56Yzj2p3qRctXa0yuxq8OsfhMabcdxknpYuIqowuYxZhc0DYJXWb xPVg== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68122-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kf22-20020a17090776d600b00a3d49ee87f5si1266770ejc.882.2024.02.15.22.55.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:55:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68122-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68122-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id B17061F25330 for ; Fri, 16 Feb 2024 06:55:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FBB71BF47; Fri, 16 Feb 2024 06:53:59 +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 ; 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)" To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin 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; -- 2.43.1