Enable DC3CO mask in get_allowed_dc_mask().

Signed-off-by: Dibin Moolakadan Subrahmanian 
<[email protected]>
---
 drivers/gpu/drm/i915/display/intel_display_power.c | 4 +++-
 1 file changed, 3 insertions(+), 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 122b3e98103e..573303c9c5f5 100644
--- a/drivers/gpu/drm/i915/display/intel_display_power.c
+++ b/drivers/gpu/drm/i915/display/intel_display_power.c
@@ -1117,7 +1117,9 @@ static u32 get_allowed_dc_mask(struct intel_display 
*display, int enable_dc)
        if (!HAS_DISPLAY(display))
                return 0;
 
-       if (DISPLAY_VER(display) >= 20)
+       if (DISPLAY_VER(display) >= 35)
+               max_dc = 4;
+       else if (DISPLAY_VER(display) >= 20)
                max_dc = 2;
        else if (display->platform.dg2)
                max_dc = 1;
-- 
2.43.0

Reply via email to