]> Git Repo - J-linux.git/commitdiff
drm/i915/dg2: Add support for DC5 state
authorAnusha Srivatsa <[email protected]>
Thu, 28 Jul 2022 18:36:41 +0000 (11:36 -0700)
committerImre Deak <[email protected]>
Tue, 2 Aug 2022 14:22:32 +0000 (17:22 +0300)
With the latest DMC in place, enabling DC5 on DG2.

Cc: Imre Deak <[email protected]>
Signed-off-by: Anusha Srivatsa <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/display/intel_display_power.c

index 13aaa3247a5a8b8fc1c033a536ad7c5bc130bd9a..3f84af6beff31d7a32908cf3b73a0b2e8fb152df 100644 (file)
@@ -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)
This page took 0.052795 seconds and 4 git commands to generate.