Skip to content

hevc_d: Put command FIFO into coherent memory#6946

Closed
jc-kynesim wants to merge 1 commit into
raspberrypi:rpi-6.12.yfrom
jc-kynesim:dev/6.12/hevc_cmd_coherent_1
Closed

hevc_d: Put command FIFO into coherent memory#6946
jc-kynesim wants to merge 1 commit into
raspberrypi:rpi-6.12.yfrom
jc-kynesim:dev/6.12/hevc_cmd_coherent_1

Conversation

@jc-kynesim

Copy link
Copy Markdown
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
Copy Markdown
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 <jc@kynesim.co.uk>
@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
@6by9

6by9 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

@jc-kynesim Is this 6.12 PR now obsolete with the changes for the mainline patchset? Can we close it?

@jc-kynesim

Copy link
Copy Markdown
Contributor Author

This patch is incorporated with the mainline stuff

@6by9

6by9 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Closing then.

@6by9 6by9 closed this Apr 27, 2026
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