From patchwork Wed Sep 6 23:47:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Roper X-Patchwork-Id: 13375970 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 9343DEE14AA for ; Wed, 6 Sep 2023 23:47:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93F3C10E73D; Wed, 6 Sep 2023 23:47:47 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 967B410E35B for ; Wed, 6 Sep 2023 23:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694044062; x=1725580062; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=izk5hXor359FGEAmV0OUURciEQNk4mjF44FqAdDHqU4=; b=a3uUl6awLtoyjCbDJCpD2xswCBOgUE1cTqFrOYwgN4vVTvMdccIZVJEc r/G/ZIvMaMd2LD+jGit1HfIdd7iDqPLMyEvxEWtln7RmvsYEHiz2WK0wc KBMzo1VYsnJQxEFOcfe0mtvwl/PTVmxzs9ubGWeyVvURpqjLjQsUWUTaW l292arnpMPTW5Lk1ZG8hEqTr86tTtqIxVBm17TdcY3REslrMUzjHbB+pD Kb6UO2SBDUf2JUjvTgkx0ZGHx/UdXd+vjVL/DbL5lmoOG5s2vejGzfkhN xm/dsgD970Q6wYhIfYSNKhrvMqcMeXT9xs9hmWlzCCHjFyA41UszK+qfD Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="357526296" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="357526296" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 16:47:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="865363204" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="865363204" Received: from mdroper-desk1.fm.intel.com ([10.1.27.147]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 16:47:42 -0700 From: Matt Roper To: intel-gfx@lists.freedesktop.org Date: Wed, 6 Sep 2023 16:47:35 -0700 Message-ID: <20230906234732.3728630-8-matthew.d.roper@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230906234732.3728630-6-matthew.d.roper@intel.com> References: <20230906234732.3728630-6-matthew.d.roper@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/4] drm/i915/adlp: Stop calling gen12lp_init_clock_gating() 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: matthew.d.roper@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" The only programming that happens in gen12lp_init_clock_gating is for display workarounds that are specific to display version 12 and are not relevant to ADL-P's display version 13. Signed-off-by: Matt Roper Reviewed-by: Lucas De Marchi --- drivers/gpu/drm/i915/intel_clock_gating.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_clock_gating.c b/drivers/gpu/drm/i915/intel_clock_gating.c index 1f2e2d7087cb..2a4714c662b8 100644 --- a/drivers/gpu/drm/i915/intel_clock_gating.c +++ b/drivers/gpu/drm/i915/intel_clock_gating.c @@ -375,8 +375,6 @@ static void gen12lp_init_clock_gating(struct drm_i915_private *i915) static void adlp_init_clock_gating(struct drm_i915_private *i915) { - gen12lp_init_clock_gating(i915); - /* Wa_22011091694:adlp */ intel_de_rmw(i915, GEN9_CLKGATE_DIS_5, 0, DPCE_GATING_DIS);