From 92450935b27551ddd911c84b0394e4d005d736eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 11 May 2022 18:46:22 +0200 Subject: [PATCH] intel_extreme: when DDI A eDP port isn't enabled by the BIOS, don't enable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we might be connected with an external port (HDMI or DP) which would be later found. Change-Id: Ibeab4abb651e5b37d7a0fa452286ee34dec7dfbd Reviewed-on: https://review.haiku-os.org/c/haiku/+/5306 Tested-by: Commit checker robot Reviewed-by: Jérôme Duval --- src/add-ons/accelerants/intel_extreme/Ports.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp b/src/add-ons/accelerants/intel_extreme/Ports.cpp index 5a5bfcd8da..cca19d09d9 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.cpp +++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp @@ -2250,11 +2250,8 @@ DigitalDisplayInterface::IsConnected() pipeState = read32(PIPE_DDI_FUNC_CTL_EDP); TRACE("%s: PIPE_DDI_FUNC_CTL_EDP: 0x%" B_PRIx32 "\n", __func__, pipeState); if (!(pipeState & PIPE_DDI_FUNC_CTL_ENABLE)) { - TRACE("%s: Laptop, but eDP port down: enabling port on pipe EDP\n", __func__); - //fixme: turn on port and power - write32(PIPE_DDI_FUNC_CTL_EDP, pipeState | PIPE_DDI_FUNC_CTL_ENABLE); - TRACE("%s: PIPE_DDI_FUNC_CTL_EDP after: 0x%" B_PRIx32 "\n", __func__, - read32(PIPE_DDI_FUNC_CTL_EDP)); + TRACE("%s: Laptop, but eDP port down\n", __func__); + return false; } if (gInfo->shared_info->has_vesa_edid_info) {