Skip to content

drivers: staging: bcm2835-isp: Clear LS table handle in the firmware #4952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

naushir
Copy link
Contributor

@naushir naushir commented Mar 22, 2022

When all nodes have stopped streaming, ensure the firmware has released its
handle on the LS table dmabuf. This is done by passing a null handle in the
LS params.

Signed-off-by: Naushir Patuck [email protected]

When all nodes have stopped streaming, ensure the firmware has released its
handle on the LS table dmabuf. This is done by passing a null handle in the
LS params.

Signed-off-by: Naushir Patuck <[email protected]>
@naushir
Copy link
Contributor Author

naushir commented Mar 22, 2022

@davidplowman @6by9

@davidplowman
Copy link
Contributor

I tried it and it seemed to do what it said on the tin.

@6by9
Copy link
Contributor

6by9 commented Mar 22, 2022

Looks reasonable to me.

As discussed, it does have the issue that the (persist and cross-process) control will still list the old (process specific) fd for the lens shading table, but such is life. I'd need to look and see if any other controls take in dmabufs or other fds, and how they then handle the "get" function from other processes.

@naushir
Copy link
Contributor Author

naushir commented Mar 25, 2022

@pelwell can you merge if you are happy with this change please?

@pelwell pelwell merged commit a6859e6 into raspberrypi:rpi-5.15.y Mar 25, 2022
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Mar 28, 2022
…ueing to vbuf2

See: raspberrypi/linux#4961

kernel: overlays/rpi-display: Add support for DRM driver
See: raspberrypi/linux#4959

kernel: backport: drm/tiny: Add MIPI DBI compatible SPI driver
See: raspberrypi/linux#4954

kernel: drivers: staging: bcm2835-isp: Clear LS table handle in the firmware
See: raspberrypi/linux#4952
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Mar 28, 2022
…ueing to vbuf2

See: raspberrypi/linux#4961

kernel: overlays/rpi-display: Add support for DRM driver
See: raspberrypi/linux#4959

kernel: backport: drm/tiny: Add MIPI DBI compatible SPI driver
See: raspberrypi/linux#4954

kernel: drivers: staging: bcm2835-isp: Clear LS table handle in the firmware
See: raspberrypi/linux#4952
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.

4 participants