Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anusha Srivatsa <anusha.srivatsa@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 2/2] drm/i915/dg2: DC states for DG2
Date: Wed, 23 Mar 2022 12:01:24 -0700	[thread overview]
Message-ID: <20220323190124.2343794-2-anusha.srivatsa@intel.com> (raw)
In-Reply-To: <20220323190124.2343794-1-anusha.srivatsa@intel.com>

DG2 has same DC states as DG1 - upto DC5.

Bspec: 49193

Cc: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
---
 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 3dc859032bac..349cc4bcea8a 100644
--- a/drivers/gpu/drm/i915/display/intel_display_power.c
+++ b/drivers/gpu/drm/i915/display/intel_display_power.c
@@ -4782,7 +4782,7 @@ static u32 get_allowed_dc_mask(const struct drm_i915_private *dev_priv,
 	if (!HAS_DISPLAY(dev_priv))
 		return 0;
 
-	if (IS_DG1(dev_priv))
+	if (IS_DG1(dev_priv) || IS_DG2(dev_priv))
 		max_dc = 3;
 	else if (DISPLAY_VER(dev_priv) >= 12)
 		max_dc = 4;
-- 
2.25.1


  reply	other threads:[~2022-03-23 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 19:01 [Intel-gfx] [PATCH 1/2] drm/i915/dg2: Load DMC Anusha Srivatsa
2022-03-23 19:01 ` Anusha Srivatsa [this message]
2022-03-23 21:16   ` [Intel-gfx] [PATCH 2/2] drm/i915/dg2: DC states for DG2 Tolakanahalli Pradeep, Madhumitha
2022-03-23 19:24 ` [Intel-gfx] [PATCH 1/2] drm/i915/dg2: Load DMC Tolakanahalli Pradeep, Madhumitha
2022-03-23 20:27 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for series starting with [1/2] " Patchwork
2022-03-23 20:54 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-23 22:49 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220323190124.2343794-2-anusha.srivatsa@intel.com \
    --to=anusha.srivatsa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox