Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-11] src/sys
Module Name: src
Committed By: martin
Date: Sun Sep 6 18:12:15 UTC 2026
Modified Files:
src/sys/arch/arm/broadcom [netbsd-11]: bcm2835_vcaudio.c
src/sys/external/bsd/vchiq/dist/interface/vchi [netbsd-11]: vchi.h
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm [netbsd-11]:
vchiq_2835_arm.c vchiq_arm.c vchiq_core.c vchiq_core.h vchiq_if.h
vchiq_shim.c
Log Message:
Pull up following revision(s) (requested by skrll in ticket #453):
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c: revision 1.26
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_shim.c: revision 1.8
sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.23
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_shim.c: revision 1.9
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_if.h: revision 1.5
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c: revision 1.18
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.h: revision 1.11
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c: revision 1.23
sys/external/bsd/vchiq/dist/interface/vchi/vchi.h: revision 1.3
vchiq: Apply change from upstream
commit 6e474d8e3981a63b6e1cf11b838014ed52499804
Author: Stefan Wahren <wahrenst-hi6Y0CQ0nG0%public.gmane.org@localhost>
Date: Wed Oct 26 18:34:19 2016 +0000
staging: vchiq_shim: avoid code duplication
Rearrange the polling loops in order to avoid code duplication. Btw we fix
the style of the comments.
Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME%public.gmane.org@localhost>
Reviewed-by: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg%public.gmane.org@localhost>
Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r%public.gmane.org@localhost>
vchiq: Back port of the change
commit 49bec49fd7f273ec114e2e533c1bb8f21a654aaf
Author: Michael Zoran <mzoran-O+n0w2l5AFbk1uMJSBkQmQ%public.gmane.org@localhost>
Date: Sun Oct 30 05:55:07 2016 -0700
staging: vc04_services: remove vchiq_copy_from_user
The vchiq_copy_from_user function is not portable
and is consider "bad practice." Replace this function
with a callback based mechanism that is passed downward
on the stack. When it is actually time to copy the data,
the callback is called to copy the data into the message.
This callback is provided internally for userland calls
through ioctls on the device.
NOTE: Internal clients will need to be modified to work
with the new internal API.
Test Run:
vchiq_test -p 1
vchiq_test -f 10
Both tests pass.
Internal API Changes:
Change vchi_msg_queue to:
int32_t
vchi_msg_queue(VCHI_SERVICE_HANDLE_T handle,
ssize_t (*copy_callback)(void *context, void *dest,
size_t offset, size_t maxsize),
void *context,
uint32_t data_size );
Remove:
vchi_msg_queuev_ex
vchi_msg_queuev
These functions were not implemented anyway so no need to fix them. It's
easier to just remove them.
Signed-off-by: Michael Zoran <mzoran-O+n0w2l5AFbk1uMJSBkQmQ%public.gmane.org@localhost>
Signed-off-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r%public.gmane.org@localhost>
To generate a diff of this commit:
cvs rdiff -u -r1.20.4.1 -r1.20.4.2 \
src/sys/arch/arm/broadcom/bcm2835_vcaudio.c
cvs rdiff -u -r1.2 -r1.2.54.1 \
src/sys/external/bsd/vchiq/dist/interface/vchi/vchi.h
cvs rdiff -u -r1.23.26.1 -r1.23.26.2 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c
cvs rdiff -u -r1.21.32.1 -r1.21.32.2 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c
cvs rdiff -u -r1.15.28.1 -r1.15.28.2 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c
cvs rdiff -u -r1.8.26.1 -r1.8.26.2 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.h
cvs rdiff -u -r1.3.54.1 -r1.3.54.2 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_if.h
cvs rdiff -u -r1.7 -r1.7.32.1 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_shim.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index