Repository navigation
Video: Validate runtime PM and driver rebind recovery - #707
Draft
Srikanth Muppandam (smuppand) wants to merge 2 commits into
Draft
Srikanth Muppandam (smuppand) wants to merge 2 commits into
Srikanth Muppandam (smuppand) wants to merge 2 commits into
Conversation
Reuse the existing decode verifier with isolated artifacts, resolve the device actually selected by FFmpeg, and restore only a lifecycle test-owned driver binding. Existing video runners retain their behavior. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add focused runtime-PM and driver-rebind decode tests. Use the existing native FFmpeg verifier to establish a working baseline and identify the hardware actually used, then require correct decoded frames on the same device after the lifecycle operation. Runtime-PM validation leaves policy unchanged, observes suspend and requires active-time accounting to advance during the recovered decode. Driver rebind requires explicit opt-in and an isolated target, refuses existing device users, checks node teardown/re-registration and restores only its original binding on failure or interruption. No firmware files are moved and no drivers are selected from board names. Depends on Video_Codec_Quality and shared lifecycle helpers from qualcomm-linux#643, without duplicating them. Optional image-provided prerequisites skip when absent. A previously supported decode becoming unavailable after mutation fails. Validation: 42 host controls cover normal recovery, unsupported PM, busy devices, malformed/missing child results, changed device identity, unbind/bind failures, node renumbering, failed resume accounting, genuine kernel faults and cleanup. ShellCheck 0.9.0, dash syntax, YAML/result contracts, notices and whitespace passed. Source walkthrough covered qualcomm-linux/kernel 17bbb4b Iris/Venus PM and remove paths. Hardware validation on applicable Yocto, Debian, Ubuntu, CentOS and ramdisk images remains pending. No LAVA jobs were submitted. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
force-pushed
the
video-lifecycle-validation
branch
from
November 25, 2026 18:02
0a545f2 to
f6d2e97
Compare
This branch has not been deployed
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.
Add focused runtime-PM and driver-rebind decode tests. Use the existing native FFmpeg verifier to establish a working baseline and identify the hardware actually used, then require correct decoded frames on the same device after the lifecycle operation.
Runtime-PM validation leaves policy unchanged, observes suspend and requires active-time accounting to advance during the recovered decode. Driver rebind requires explicit opt-in and an isolated target, refuses existing device users, checks node teardown/re-registration and restores only its original binding on failure or interruption. No firmware files are moved and no drivers are selected from board names.
Depends on Video_Codec_Quality and shared lifecycle helpers from #643, without duplicating them. Optional image-provided prerequisites skip when absent. A previously supported decode becoming unavailable after mutation fails.
Validation: 43 host controls cover normal recovery, unsupported PM, busy devices, malformed/missing child results, changed device identity, unbind/bind failures, node renumbering, failed resume accounting, genuine kernel faults and cleanup. ShellCheck 0.9.0, dash syntax, YAML/result contracts, notices and whitespace passed. Source walkthrough covered qualcomm-linux/kernel 17bbb4b Iris/Venus PM and remove paths. Hardware validation on applicable Yocto, Debian, Ubuntu, CentOS and ramdisk images remains pending. No LAVA jobs were submitted.
Additional local validation: SIGTERM during the controlled operation produces FAIL and restores the test-owned state without leaking the owned playback process or leaving the selected video driver unbound. These are host fixtures, not DUT crash/rebind results.