Repository navigation
WIP: VC4 DSI fixes - #4423
Closed
6by9 wants to merge 3 commits into
Closed
WIP: VC4 DSI fixes#44236by9 wants to merge 3 commits into
6by9 wants to merge 3 commits into
Conversation
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Also removes all the messing with the bridge chain as we now want the framework to perform all the operations. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
The divider calculations tried to find the divider just faster than the clock requested. However if it required a divider of 7 then the for loop aborted without handling the "error" case, and could end up with a clock lower than requested. Correct the loop so that we always have a clock greater than requested. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
pelwell
reviewed
Jun 30, 2021
pelwell
left a comment
Contributor
There was a problem hiding this comment.
Niggle aside, it looks reasonable. However, GitHub could do with a smarter way to indicate code that is copied or moved in a diff.
|
|
||
| pm_runtime_mark_last_busy(dev); | ||
| pm_runtime_put_autosuspend(dev); | ||
|
|
Contributor
Author
|
Closing as this isn't the solution that upstream are happy with. |
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.
Creating PR for reference.
A couple of fixups, and moving PHY initialisation to pm_runtime.
WIP as apparently drm_encoder.crtc is deprecated and only for non-atomic drivers, so the current implementation of the pm_runtime resume functions are "incorrect".