-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WPE] Fix DRM initialization in nxp-imx6qp-sdb board #23608
[WPE] Fix DRM initialization in nxp-imx6qp-sdb board #23608
Conversation
60c9146
to
01f4834
Compare
EWS run on previous version of this PR (hash 60c9146) |
EWS run on previous version of this PR (hash 01f4834) |
Right, that's why we ignore writeback connectors.
Are you sure 0 is a valid drm object identifier? |
0 is valid since we can be in the case explained here #23608 (comment) : he connector is not currently bound to an encoder or if the encoder+crtc is already used by another connector. |
I see. But then, if all are DRM_MODE_CONNECTOR_WRITEBACK:ON then we are skipping all of them. What I think this is the case in my board. UPDATE: to keep the check for the |
01f4834
to
f2830a0
Compare
EWS run on current version of this PR (hash f2830a0) |
EWS run on previous version of this PR (hash f2830a0) |
f2830a0
to
aaf3552
Compare
EWS run on previous version of this PR (hash aaf3552) |
β¦ization https://bugs.webkit.org/show_bug.cgi?id=268533 Reviewed by Carlos Garcia Campos. This change removes the DPMS property check. The DPMS is a legacy property for setting the power state of the connector. For atomic drivers this is only provided for backwards compatibility with existing drivers. Related-To: WebKit#23608 * Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.cpp: (WPE::DRM::Connector::create): Canonical link: https://commits.webkit.org/273895@main
β¦odesetting https://bugs.webkit.org/show_bug.cgi?id=268535 Reviewed by Carlos Garcia Campos and Adrian Perez de Castro. Fixes the findDevice() by ensuring the returning device has DRM resources. Related-To: WebKit#23608 * Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp: (findDevice): Canonical link: https://commits.webkit.org/273896@main
aaf3552
to
3d07a0a
Compare
EWS run on previous version of this PR (hash 3d07a0a) |
3d07a0a
to
6c5d0b2
Compare
EWS run on current version of this PR (hash 6c5d0b2) |
6c5d0b2
to
95ad529
Compare
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 <jani@igalia.com>. Related-To: Igalia/cog#590 Related-To: WebKit#23654 Related-To: WebKit#23657 * Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp: (chooseConnector): (chooseCrtcForConnector): Canonical link: https://commits.webkit.org/273898@main
95ad529
to
5a6315f
Compare
Committed 273898@main (5a6315f): https://commits.webkit.org/273898@main Reviewed commits have been landed. Closing PR #23608 and removing active labels. |
5a6315f
6c5d0b2
π iosπ macπ wpeπ wincairoπ ios-simπ mac-AS-debugπ§ͺ wpe-wk2π§ͺ webkitperlπ§ͺ ios-wk2π§ͺ api-macπ§ͺ api-wpeπ§ͺ ios-wk2-wptπ§ͺ mac-wk1π gtkπ§ͺ api-iosπ§ͺ mac-wk2π§ͺ gtk-wk2π tvπ§ͺ mac-AS-debug-wk2π§ͺ api-gtkπ tv-simπ§ͺ mac-wk2-stressπ watchπ watch-sim