Repository navigation
media: apple: vxd: Drop redundant pm_runtime_mark_last_busy() calls - #178
Merged
henrikklee merged 1 commit intoDec 5, 2026
Merged
Conversation
pm_runtime_put_autosuspend() already calls pm_runtime_mark_last_busy() in this kernel, so the four explicit calls right before it are redundant. Assisted-by: LLM Signed-off-by: Grier Johnson <grier@scooterfarm.com>
|
Merged, thank you @grierj! A tidy follow-up to the #170 review: Nothing changed on the branch, nothing left out, no follow-ups. |
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.
Follow-up cleanup from #170:
pm_runtime_mark_last_busy(vxd->dev)calls right beforepm_runtime_put_autosuspend(vxd->dev), sincepm_runtime_put_autosuspend()already callspm_runtime_mark_last_busy()in this kernel.Verified live on J207 (iPad Pro 10.5-inch, T8011) with a real-time VA-API (
libva-v4l2request→/dev/video0 [apple-vxd]) H.264 decode paused mid-stream for 2.5 s sovdec0autosuspends tooff-0, then resumed to completion:runtime_status=suspended,vdec0 = off-0runtime_status=active,vdec0 = onpts 1.700):runtime_status=suspended,vdec0 = off-0runtime_status=active,vdec0 = on, decoded output MD5 matches software reference bit-for-bit (0976f3d5b4bf2fe0c0706ed7db8b9c97), zerodmesgerrorsruntime_status=suspended,vdec0 = off-0Assisted-by: LLM