From b1c582baf3d7ef3dff58cacfbba53ccd9bafc7dc Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 5 Oct 2019 16:24:10 +0200 Subject: [PATCH] intel_extreme: disable FDI training for now. It just deadlocks, so let's try to go without it and hope for the best? Should fix #14301 Change-Id: I3cbd6e800a64da31f1fb1f1fb66b088e0298596e Reviewed-on: https://review.haiku-os.org/c/haiku/+/1899 Reviewed-by: waddlesplash --- src/add-ons/accelerants/intel_extreme/Ports.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp b/src/add-ons/accelerants/intel_extreme/Ports.cpp index 17d5159b6e..be75ff8e92 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.cpp +++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp @@ -312,10 +312,14 @@ AnalogPort::SetDisplayMode(display_mode* target, uint32 colorMode) return B_ERROR; } +#if 0 + // Disabled for now as our code doesn't work. Let's hope VESA/EFI has + // already set things up for us during boot. // Train FDI if it exists FDILink* link = fPipe->FDI(); if (link != NULL) link->Train(target); +#endif pll_divisors divisors; compute_pll_divisors(target, &divisors, false); @@ -474,10 +478,14 @@ LVDSPort::SetDisplayMode(display_mode* target, uint32 colorMode) if (!wait_for_clear(panelStatus, PANEL_STATUS_POWER_ON, 1000)) ERROR("%s: %s didn't power off within 1000ms!\n", __func__, PortName()); +#if 0 + // Disabled for now as our code doesn't work. Let's hope VESA/EFI has + // already set things up for us during boot. // Train FDI if it exists FDILink* link = fPipe->FDI(); if (link != NULL) link->Train(target); +#endif #if 0 // Disable PanelFitter for now @@ -749,10 +757,14 @@ DigitalPort::SetDisplayMode(display_mode* target, uint32 colorMode) return B_ERROR; } +#if 0 + // Disabled for now as our code doesn't work. Let's hope VESA/EFI has + // already set things up for us during boot. // Train FDI if it exists FDILink* link = fPipe->FDI(); if (link != NULL) link->Train(target); +#endif pll_divisors divisors; compute_pll_divisors(target, &divisors, false); @@ -1113,10 +1125,14 @@ DigitalDisplayInterface::SetDisplayMode(display_mode* target, uint32 colorMode) return B_ERROR; } +#if 0 + // Disabled for now as our code doesn't work. Let's hope VESA/EFI has + // already set things up for us during boot. // Train FDI if it exists FDILink* link = fPipe->FDI(); if (link != NULL) link->Train(target); +#endif pll_divisors divisors; compute_pll_divisors(target, &divisors, false);