Display Driver Stability and Optimization Enhancements with Upstream DRM backend - #22
Open
yashgupta2126 wants to merge 3 commits into
Open
Display Driver Stability and Optimization Enhancements with Upstream DRM backend#22yashgupta2126 wants to merge 3 commits into
yashgupta2126 wants to merge 3 commits into
Conversation
added 3 commits
July 31, 2026 15:27
In drm_universal_plane_init duplicate pixel formats are given. This change avoids adding duplicate pixel formats by sorting and removing duplicates by comparing with the previously added format. Change-Id: I5ca7fb601cc95ca5093651d016cb38369425c079 Signed-off-by: Mahadevan <quic_mahap@quicinc.com>
This change reverts 'commit d28ebf05f4aa ("disp: msm:
sde: populate WB display encoder list before dsi")'
as drm backend takes first encoder as the primary.
Change-Id: I6d93f18c28ebe405c75a8cc4267ca03ea1077c14
Signed-off-by: Sailesh Reddy Male <quic_reddymal@quicinc.com>
…g completion This change addresses an issue where user space PAGE_FLIP_EVENT expects a vblank timestamp value without enabling vblank. The driver sets the timestamps by enabling vblank in prepare_commit and disabling in complete_commit ensuring user space can issue a new frame on completion of the previous frame. Change-Id: I709bf9818787eddcced6dcad1a909b3a33fa8284 Signed-off-by: Sailesh Reddy Male <quic_reddymal@quicinc.com>
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.
Implemented VBLANK handling during the display commit lifecycle to ensure valid PAGE_FLIP_EVENT timestamps are available to userspace. This enables proper frame completion signaling and allows userspace to schedule subsequent frames reliably.
Restored DSI/DP encoder priority over the WB encoder by reverting the encoder population order. This ensures the DRM backend selects the correct primary display encoder and maintains expected display pipeline behavior.
Optimized DRM plane initialization by eliminating duplicate pixel format entries before registration. This reduces redundant processing and ensures a cleaner and more efficient pixel format list.