From patchwork Fri Feb 3 00:57:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13126871 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 326EFC636D3 for ; Fri, 3 Feb 2023 00:57:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28BC110E6D4; Fri, 3 Feb 2023 00:57:34 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4768910E6D4; Fri, 3 Feb 2023 00:57:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675385852; x=1706921852; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PSYQAEUEBk3AiM9erWro/kil4zQ/kWzygn4bQTXV4Zo=; b=fq9pXb+n0FgDNlF2co8Iq2yqk7JivtVBjy2EezCj9swNLHO67y2ODuMl hqfV/G1pmKuYULGhBL2hC/AI3QnpAqVJgRydk2u4Fp4pleUMWKFfJL0qE z8JEVyO115of/HAUaykBot7546xrfJsJAyfTxqG7PP/S/kxDqDFt4gka6 aXvymtQEsOici61x0QnHXt9xy2KrY6gbLw7r6TwQpDhx1D8sy5oeRH8AO EiQ84eoP5R7xQ5fkatRR3FWjuPRHSnm1Fv7UZHJV0lQ6r9VjUvbqfmDx3 zCVKvsz6HyDzYcbVajOjIYXJeSoSTaLt1oVMbOvZ8/99HzLSEqrwnxDt/ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="316618624" X-IronPort-AV: E=Sophos;i="5.97,269,1669104000"; d="scan'208";a="316618624" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2023 16:57:31 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="734138523" X-IronPort-AV: E=Sophos;i="5.97,269,1669104000"; d="scan'208";a="734138523" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2023 16:57:31 -0800 From: Lucas De Marchi To: intel-gfx@lists.freedesktop.org Date: Thu, 2 Feb 2023 16:57:09 -0800 Message-Id: <20230203005709.2612633-2-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230203005709.2612633-1-lucas.demarchi@intel.com> References: <20230203005709.2612633-1-lucas.demarchi@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/2] drm/i915: Remove unused/wrong INF_UNIT_LEVEL_CLKGATE X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lucas De Marchi , dri-devel@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" INF_UNIT_LEVEL_CLKGATE is not replicated, but since it's not actually used it can just be removed. Signed-off-by: Lucas De Marchi --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/intel_gt_regs.h b/drivers/gpu/drm/i915/gt/intel_gt_regs.h index cc1539c7a6b6..7256f7e3fd11 100644 --- a/drivers/gpu/drm/i915/gt/intel_gt_regs.h +++ b/drivers/gpu/drm/i915/gt/intel_gt_regs.h @@ -769,9 +769,6 @@ #define GEN10_DFR_RATIO_EN_AND_CHICKEN MCR_REG(0x9550) #define DFR_DISABLE (1 << 9) -#define INF_UNIT_LEVEL_CLKGATE MCR_REG(0x9560) -#define CGPSF_CLKGATE_DIS (1 << 3) - #define MICRO_BP0_0 _MMIO(0x9800) #define MICRO_BP0_2 _MMIO(0x9804) #define MICRO_BP0_1 _MMIO(0x9808)