[Intel-gfx] [PATCH 0/6] drm/i915: Extend parse_ddi_port() to all g4x+ platforms

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Jan 19 22:21:07 UTC 2022


On Fri, Dec 17, 2021 at 05:53:57PM +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Quick attempt at unifying the VBT DDI parsing to all g4x+
> platforms.
> 
> Note that we'll still use the hardware straps as the primary 
> source of port presence information on old platforms since the
> device type bits in VBT tend to be often a bit wrong (for DP++
> ports at least). Hopefully the rest of the information (mainly
> aux_ch/ddc_pin) are correct.
> 
> Only very slightly smoke tested on SNB so far.

Smoked this a bit more on a set of ctg,ilk,snb,ivb and all seems
good so far.

Pushed to drm-intel-next with fingers and toes crossed.
Thanks for the review.

> 
> Ville Syrjälä (6):
>   drm/i915/bios: Introduce has_ddi_port_info()
>   drm/i915/bios: Use i915->vbt.ports[] on CHV
>   drm/i915/bios: Use i915->vbt.ports[] for all g4x+
>   drm/i915/bios: Throw out the !has_ddi_port_info() codepaths
>   drm/i915/bios: Nuke DEVICE_TYPE_DP_DUAL_MODE_BITS
>   drm/i915/hdmi: Ignore DP++ TMDS clock limit for native HDMI ports
> 
>  drivers/gpu/drm/i915/display/intel_bios.c     | 117 +++---------------
>  drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 ++
>  drivers/gpu/drm/i915/display/intel_vbt_defs.h |  26 ----
>  3 files changed, 28 insertions(+), 123 deletions(-)
> 
> -- 
> 2.32.0

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list