Repository navigation
weston: backport writeback connector cleanup fix - #3821
Open
shrejadh05 wants to merge 1 commit into
Open
shrejadh05 wants to merge 1 commit into
shrejadh05 wants to merge 1 commit into
Conversation
On Lemans platforms with Dual DPU, weston can become inactive after a display HPD event when all four eDP interfaces, or four eDP and one DSI interface, are connected. During connector hotplug handling, writeback connectors are checked against the DRM resource snapshot of the device being updated. The original implementation incorrectly used the backend's primary DRM device for writeback cleanup, causing writeback connectors on another device to be treated as removed. This can leave outputs in an invalid state and prevent weston from recovering after HPD events. Use the current DRM device's writeback connector list during cleanup so connector ownership and resource checks remain consistent across multiple DRM devices. Signed-off-by: Shreyas Jadhav <[email protected]>
Contributor
|
The patch status says "Submitted", not "Applied" or "Backport", so this isn't a backport. |
| Iterate the writeback connector list owned by the device being updated, | ||
| so it is checked against resources from the same DRM device. | ||
|
|
||
| Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2298] |
Contributor
There was a problem hiding this comment.
Patch is already merged, correct status would be backport.
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 Lemans platforms with Dual DPU, weston can become inactive after a display HPD event when all four eDP interfaces, or four eDP and one DSI interface, are connected.
During connector hotplug handling, writeback connectors are checked against the DRM resource snapshot of the device being updated. The original implementation incorrectly used the backend's primary DRM device for writeback cleanup, causing writeback connectors on another device to be treated as removed. This can leave outputs in an invalid state and prevent weston from recovering after HPD events.
Use the current DRM device's writeback connector list during cleanup so connector ownership and resource checks remain consistent across multiple DRM devices.
Following fix has been merged in the weston upstream: -https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2298