Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5a6315f2de686283ee9ffc3498e6b68107799566 https://github.com/WebKit/WebKit/commit/5a6315f2de686283ee9ffc3498e6b68107799566 Author: Pablo Saavedra <psaave...@igalia.com> Date: 2024-02-01 (Thu, 01 Feb 2024)
Changed paths: M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp Log Message: ----------- [WPE] Fix DRM initialization in nxp-imx6qp-sdb board https://bugs.webkit.org/show_bug.cgi?id=268487 Reviewed by Carlos Garcia Campos. This patch is generic but fixes the DRM initialization for NXP imx6qp Sabre Development boards: * Removes the check for the valid connector in the chooseConnector(). The encoder Id can be zero if the connector is not currently bound to an encoder or if the encoder+crtc is already used by another connector. * Modifies the chooseCrtcForConnector() logic. We implement a more robust mechanism by checking the encoder->possible_crtcs in case of no active crtc was found. Credits to Jani Hautakangas <j...@igalia.com>. Related-To: https://github.com/Igalia/cog/pull/590 Related-To: https://github.com/WebKit/WebKit/pull/23654 Related-To: https://github.com/WebKit/WebKit/pull/23657 * Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp: (chooseConnector): (chooseCrtcForConnector): Canonical link: https://commits.webkit.org/273898@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes