fix: Add fix for DRM plane switching CRTC on Qualcomm#1
Merged
Conversation
On Qualcomm platforms (SC8280XP), the DRM atomic API does not allow switching a plane from one CRTC to another in a single commit. When toggling mirror/extend mode with multiple displays, mutter's find_unassigned_plane() could assign a plane that is still active on another CRTC, causing drmModeAtomicCommit to return EINVAL. Add a patch that: - Tracks current_crtc_id per plane at init time - Skips planes currently active on a different CRTC in find_unassigned_plane() - Checks mutter's internal assignment state for additional safety Based on upstream MR !4850 and !5055. Bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/4399 Signed-off-by: Chongbiao Chen <chenchongbiao@radxa.com>
Collaborator
Author
Collaborator
Author
|
release 后手动添加 pkg.conf 添加 noble/noble-test 源 |
Collaborator
Author
|
解决镜像模式和扩展模式切换卡顿,镜像模式无法切换分辨率的问题。镜像模式下切换成 1600x900 的情况下,type-c 的扩展屏存在黑屏的情况,切换成其他分辨率正常。 |
Add changelog entry for the DRM plane switching CRTC fix on Qualcomm platforms. Signed-off-by: Chongbiao Chen <chenchongbiao@radxa.com>
Add Makefile with deb build targets and meson buildsystem detection. Signed-off-by: Chongbiao Chen <chenchongbiao@radxa.com>
Add GitHub Actions workflows for CI/CD with direct build on ubuntu-24.04-arm runner (no container overhead). Signed-off-by: Chongbiao Chen <chenchongbiao@radxa.com>
b7bc343 to
8100607
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Qualcomm platforms (SC8280XP), the DRM atomic API does not allow
switching a plane from one CRTC to another in a single commit. When
toggling mirror/extend mode with multiple displays, mutter's
find_unassigned_plane() could assign a plane that is still active on
another CRTC, causing drmModeAtomicCommit to return EINVAL.
Add a patch that:
Based on upstream MR !4850 and !5055.
Bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/4399