> -----Original Message-----
> From: Dibin Moolakadan Subrahmanian
> <[email protected]>
> Sent: Tuesday, June 16, 2026 9:52 PM
> To: [email protected]; [email protected]
> Cc: Shankar, Uma <[email protected]>; Manna, Animesh
> <[email protected]>; [email protected]
> Subject: [PATCH v6 16/16] drm/i915/display: Enable DC3CO DC state
>
> Enable DC3CO mask in get_allowed_dc_mask().
>
> Signed-off-by: Dibin Moolakadan Subrahmanian
> <[email protected]>
Reviewed-by: Animesh Manna <[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 2ee38ba1fb2c..dc3b31200353 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_power.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_power.c
> @@ -1121,7 +1121,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