@@ -3374,6 +3374,8 @@ typedef enum {
#define FDI_RXA_MISC 0xf0010
#define FDI_RXB_MISC 0xf1010
#define FDI_RXC_MISC 0xf2010
+#define FDI_RX_TP1_TO_TP2_SHIFT (20)
+
#define FDI_RXA_TUSIZE1 0xf0030
#define FDI_RXA_TUSIZE2 0xf0038
#define FDI_RXB_TUSIZE1 0xf1030
@@ -1307,7 +1307,11 @@ DEBUGSTRING(ironlake_debug_rawclk_freq)
DEBUGSTRING(ironlake_debug_fdi_rx_misc)
{
- snprintf(result, len, "FDI Delay %d", val & ((1 << 13) - 1));
+ const char *tp1_to_tp2[4] = {"16", "32", "48", "64"};
+
+ snprintf(result, len, "TP1 to TP2 time: %s, FDI Delay %d",
+ tp1_to_tp2[(val >> FDI_RX_TP1_TO_TP2_SHIFT) & 3],
+ val & ((1 << 13) - 1));
}
DEBUGSTRING(ironlake_debug_fdi_rx_debug)