WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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