Skip to content

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

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

Display Driver Stability and Optimization Enhancements with Upstream DRM backend#22
yashgupta2126 wants to merge 3 commits into
qualcomm-linux:mainfrom
yashgupta2126:sde_drm

Conversation

@yashgupta2126

Copy link
Copy Markdown

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.

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