[Intel-gfx] [PATCH v2 36/50] drm/i915/dg2: Setup display outputs

Souza, Jose jose.souza at intel.com
Fri Jul 16 19:40:57 UTC 2021


On Tue, 2021-07-13 at 20:15 -0700, Matt Roper wrote:
> DG2 has outputs on DDI A-D attached to what the bspec diagram shows as
> "Combo PHY A-D."  Note that despite being labelled "combo" the PHYs on
> these outputs are Synopsys PHYs rather than traditional Intel combo PHY
> technology.

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> 
> Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 45dc58dedf57..2872b9b77d15 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -11329,7 +11329,12 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)
>  	if (!HAS_DISPLAY(dev_priv))
>  		return;
>  
> -	if (IS_ALDERLAKE_P(dev_priv)) {
> +	if (IS_DG2(dev_priv)) {
> +		intel_ddi_init(dev_priv, PORT_A);
> +		intel_ddi_init(dev_priv, PORT_B);
> +		intel_ddi_init(dev_priv, PORT_C);
> +		intel_ddi_init(dev_priv, PORT_D_XELPD);
> +	} else if (IS_ALDERLAKE_P(dev_priv)) {
>  		intel_ddi_init(dev_priv, PORT_A);
>  		intel_ddi_init(dev_priv, PORT_B);
>  		intel_ddi_init(dev_priv, PORT_TC1);



More information about the Intel-gfx mailing list