[Intel-gfx] [PATCH 2/2] drm/i915/dg2: DC states for DG2

Tolakanahalli Pradeep, Madhumitha madhumitha.tolakanahalli.pradeep at intel.com
Wed Mar 23 21:16:00 UTC 2022


On Wed, 2022-03-23 at 12:01 -0700, Anusha Srivatsa wrote:
> DG2 has same DC states as DG1 - upto DC5.
> 
> Bspec: 49193
> 
> Cc: Madhumitha Tolakanahalli Pradeep
> <madhumitha.tolakanahalli.pradeep at intel.com>
> Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>

Reviewed-by: Madhumitha Tolakanahalli Pradeep
                 <madhumitha.tolakanahalli.pradeep 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 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;



More information about the Intel-gfx mailing list