Re: [Intel-gfx] [PATCH v2 17/27] drm/i915/xe2lpd: Read pin assignment from IOM

2023-09-07 Thread Kahola, Mika
> -Original Message- > From: De Marchi, Lucas > Sent: Thursday, September 7, 2023 6:38 PM > To: intel...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Cc: Coelho, Luciano ; Kahola, Mika > ; Roper, Matthew D > ; De Marchi, Lucas > Subject: [PATCH v2 17/27] drm/i915/xe2lpd: Read

[Intel-gfx] [PATCH v2 17/27] drm/i915/xe2lpd: Read pin assignment from IOM

2023-09-07 Thread Lucas De Marchi
From: Luca Coelho Starting from display version 20, we need to read the pin assignment from the IOM TCSS_DDI_STATUS register instead of reading it from the FIA. We use the pin assignment to decide the maximum lane count. So, to support this change, add a new lnl_tc_port_get_max_lane_count() fun