Skip to content

max9x: use stream-aware active formats#29

Open
Angusche wants to merge 1 commit into
intel:release/26Q2.1from
Angusche:copilot/max9x-stream-formats
Open

max9x: use stream-aware active formats#29
Angusche wants to merge 1 commit into
intel:release/26Q2.1from
Angusche:copilot/max9x-stream-formats

Conversation

@Angusche

@Angusche Angusche commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • use V4L2 subdev state format lookup for MAX9x active formats
  • keep active format state stream-aware for deserializer source pads carrying multiple VC streams

Validation

  • rebuilt and installed the DKMS module from patched source
  • confirmed max9x loads from the DKMS updates path
  • validated mixed multi-process streaming together with the HAL active-path setup change

Use the V4L2 subdev state format lookup for active formats so deserializer
source pads can keep independent format state per stream.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@khaiwenng

Copy link
Copy Markdown
Contributor

what issue is this PR trying to fix?

@Angusche

Copy link
Copy Markdown
Author

what issue is this PR trying to fix?
We need 1 hal patch and 1 kernel patch to fix mix-resolution scenario.
max9x active format lookup was changed to use v4l2_subdev_state_get_format(v4l2_state, fmt->pad, fmt->stream) for active formats. This is required because the deserializer source pad carries multiple VC streams, so active format state must be per pad+stream rather than per pad only.

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.

2 participants