Skip to content
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

drivers: media: bcm2835_isp: Cache LS table dmabuf #6429

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

naushir
Copy link
Contributor

@naushir naushir commented Oct 22, 2024

Clients such as libcamera do not change the LS table dmabuf on every frame. In such cases instead of mapping/remapping the same dmabuf on every frame to send to the firmware, cache the dmabuf once and only update and remap if the dmabuf has been changed by the userland client.

Clients such as libcamera do not change the LS table dmabuf on every
frame. In such cases instead of mapping/remapping the same dmabuf on
every frame to send to the firmware, cache the dmabuf once and only
update and remap if the dmabuf has been changed by the userland client.

Signed-off-by: Naushir Patuck <[email protected]>
@naushir naushir marked this pull request as ready for review October 25, 2024 07:41
@naushir
Copy link
Contributor Author

naushir commented Oct 31, 2024

@6by9 I think this is ready to merge if you are happy with the changes.

@6by9
Copy link
Contributor

6by9 commented Oct 31, 2024

Not the easiest to read on a phone, but it looks OK.

@naushir naushir merged commit 25e6acf into raspberrypi:rpi-6.6.y Nov 1, 2024
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Nov 1, 2024
kernel: drivers: media: bcm2835_isp: Cache LS table dmabuf
See: raspberrypi/linux#6429

kernel: arm64: dts: Sort out CM5 and I/O board I2C ports
See: raspberrypi/linux#6441

kernel: cgroup: Use kernel command line to disable memory cgroup
See: raspberrypi/linux#6439
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Nov 1, 2024
kernel: drivers: media: bcm2835_isp: Cache LS table dmabuf
See: raspberrypi/linux#6429

kernel: arm64: dts: Sort out CM5 and I/O board I2C ports
See: raspberrypi/linux#6441

kernel: cgroup: Use kernel command line to disable memory cgroup
See: raspberrypi/linux#6439
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