[Intel-gfx] [04/12] drm/i915: Add VBT DVO ports H and I

Souza, Jose jose.souza at intel.com
Tue Sep 8 16:37:38 UTC 2020


On Wed, 2020-07-01 at 00:55 +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <
> ville.syrjala at linux.intel.com
> >
> 
> VBT has ports H and I since version 217.
> 

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

> Signed-off-by: Ville Syrjälä <
> ville.syrjala at linux.intel.com
> >
> ---
>  drivers/gpu/drm/i915/display/intel_bios.c     | 2 ++
>  drivers/gpu/drm/i915/display/intel_vbt_defs.h | 8 ++++++--
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
> index 6593e2c38043..2bf0bc0deee8 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
> @@ -1653,6 +1653,8 @@ static enum port dvo_port_to_port(struct drm_i915_private *dev_priv,
>  		[PORT_E] = { DVO_PORT_HDMIE, DVO_PORT_DPE, DVO_PORT_CRT },
>  		[PORT_F] = { DVO_PORT_HDMIF, DVO_PORT_DPF, -1 },
>  		[PORT_G] = { DVO_PORT_HDMIG, DVO_PORT_DPG, -1 },
> +		[PORT_H] = { DVO_PORT_HDMIH, DVO_PORT_DPH, -1 },
> +		[PORT_I] = { DVO_PORT_HDMII, DVO_PORT_DPI, -1 },
>  	};
>  	/*
>  	 * Bspec lists the ports as A, B, C, D - however internally in our
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index aef7fe932d1a..e502d65300fa 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -293,8 +293,12 @@ struct bdb_general_features {
>  #define DVO_PORT_HDMIE		12				/* 193 */
>  #define DVO_PORT_DPF		13				/* N/A */
>  #define DVO_PORT_HDMIF		14				/* N/A */
> -#define DVO_PORT_DPG		15
> -#define DVO_PORT_HDMIG		16
> +#define DVO_PORT_DPG		15				/* 217 */
> +#define DVO_PORT_HDMIG		16				/* 217 */
> +#define DVO_PORT_DPH		17				/* 217 */
> +#define DVO_PORT_HDMIH		18				/* 217 */
> +#define DVO_PORT_DPI		19				/* 217 */
> +#define DVO_PORT_HDMII		20				/* 217 */
>  #define DVO_PORT_MIPIA		21				/* 171 */
>  #define DVO_PORT_MIPIB		22				/* 171 */
>  #define DVO_PORT_MIPIC		23				/* 171 */
> 


More information about the Intel-gfx mailing list