Skip to content

Display Driver Stability and Optimization Enhancements with Upstream DRM backend - #24

Open
yashgupta2126 wants to merge 3 commits into
qualcomm-linux:mainfrom
yashgupta2126:sde_drm
Open

yashgupta2126 wants to merge 3 commits into
qualcomm-linux:mainfrom
yashgupta2126:sde_drm

Conversation

@yashgupta2126

Copy link
Copy Markdown

Supersedes #22, which was automatically closed due to inactivity.

Implemented VBLANK handling during the display commit lifecycle to provide valid PAGE_FLIP_EVENT timestamps to userspace. This enables reliable frame-completion signaling and scheduling of subsequent frames.

Restored DSI and DP encoder priority over the WB encoder to maintain correct primary display-encoder selection and expected display-pipeline behavior.

Optimized DRM plane initialization by removing duplicate pixel-format entries before registration.

Yash Gupta 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant