Skip to content

Conversation

jc-kynesim
Copy link
Contributor

Change command FIFO alloction to be from dma coherent memory rather than from generic kernel memory that we map and unmap. This removes a potential issue with unmap in an IRQ tail. In general it should also be faster as it avoids the overhead inherent in map and unmap and most streams only create short command streams.

@jc-kynesim
Copy link
Contributor Author

Fixes a long standing (years) issue where very occasionally you get a bad frame out of the decoder that looks like it used the wrong reference frames.

Change command FIFO alloction to be from dma coherent memory rather
than from generic kernel memory that we map and unmap.
This removes a potential issue with unmap in an IRQ tail. In general
it should also be faster as it avoids the overhead inherent in map
and unmap and most streams only create short command streams.

Signed-off-by: John Cox <[email protected]>
@jc-kynesim jc-kynesim force-pushed the dev/6.12/hevc_cmd_coherent_1 branch from e2e5ca2 to 712274e Compare July 8, 2025 11:59
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.

1 participant