From patchwork Thu Jul 28 18:36:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Srivatsa, Anusha" X-Patchwork-Id: 12931666 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 C0C6EC04A68 for ; Thu, 28 Jul 2022 18:37:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01D2310F07E; Thu, 28 Jul 2022 18:37:42 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 744B310F130 for ; Thu, 28 Jul 2022 18:37:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659033460; x=1690569460; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mRNuhBVGjiO6sbKqm21tJbg9u9GSU5d/R6kKaeTuHNk=; b=Lu4F/N3fD4UM3DF71zBRdu0J5gH7Lv5YJKgMHTaCFNG6E+DUqFjEFQzn o+UpJMN4l/gb5BjWWO2V8kSYSd+phm6NBhVKn4jShAV9mrIKZbQmRz8YZ YDuL58bfElsVs49jnPNJN/Fjo/SLKdrfLHElq6mvqwkdLWy/i+Hkl8I3A JKLKie4MR+lk7T11iuz5dSCZ0SJvFd6kSiQBxqd9ebgVGGml1tY7LCuJ6 q/JnARfRieSypDO3GneZHgX9U+oea4uHcpsjWAoptyn1FTeL3i4ITy5Ef UdakUNO4aGdrqbzJ33a1scBD+SYrAbnx8fYxtakXygN/Yv5WXV+Fgte74 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="268352216" X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="268352216" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 11:37:15 -0700 X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="846835615" Received: from kseth-mobl20.amr.corp.intel.com (HELO anushasr-mobl7.intel.com) ([10.212.134.144]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 11:37:15 -0700 From: Anusha Srivatsa To: intel-gfx@lists.freedesktop.org Date: Thu, 28 Jul 2022 11:36:41 -0700 Message-Id: <20220728183641.55692-1-anusha.srivatsa@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [CI] drm/i915/dg2: Add support for DC5 state 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" With the latest DMC in place, enabling DC5 on DG2. Cc: Imre Deak Signed-off-by: Anusha Srivatsa Reviewed-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c index 13aaa3247a5a..3f84af6beff3 100644 --- a/drivers/gpu/drm/i915/display/intel_display_power.c +++ b/drivers/gpu/drm/i915/display/intel_display_power.c @@ -908,7 +908,7 @@ static u32 get_allowed_dc_mask(const struct drm_i915_private *dev_priv, return 0; if (IS_DG2(dev_priv)) - max_dc = 0; + max_dc = 1; else if (IS_DG1(dev_priv)) max_dc = 3; else if (DISPLAY_VER(dev_priv) >= 12)