[PATCH 2/2] drm/i915/dg2: Enable DC states
Imre Deak
imre.deak at intel.com
Fri May 13 16:45:00 UTC 2022
From: Anusha Srivatsa <anusha.srivatsa at intel.com>
Enable DC5 on dg2.
Cc: Imre Deak <imre.deak at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at 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 5eb8d63fb89ed..8e85605f5b8a1 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)
--
2.30.2
More information about the Intel-gfx-trybot
mailing list