History log of /freebsd-current/sys/contrib/vchiq/interface/compat/vchi_bsd.h
Revision Date Author Comments
# 04b8208f 17-Nov-2020 Emmanuel Vadot <manu@FreeBSD.org>

vchiq: Rename timer func so they do not conflict with linuxkpi


# f26db694 05-Dec-2018 Mateusz Guzik <mjg@FreeBSD.org>

sx: retire SX_NOADAPTIVE

The flag is not used by anything for years and supporting it requires an
explicit read from the lock when entering slow path.

Flag value is left unused on purpose.

Sponsored by: The FreeBSD Foundation


# 5cf32a6e 07-Jan-2018 Kristof Provost <kp@FreeBSD.org>

vchiq: Use mallocarray() to provide kcalloc()

This means we now also provide integer overflow protection, like the
Linux kcalloc().


# 9fc7a59f 10-Feb-2017 Ian Lepore <ian@FreeBSD.org>

Stop including sys/types.h from arm's machine/atomic.h, fix the places
where atomic.h was being included without ensuring that types.h (via
param.h) was included first, as required by atomic(9).


# e88b3f2e 07-Nov-2015 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix locking for VCHI driver by matching sleepable/non-sleepable APIs:

- Emulate Linux mutex API using sx(9) locks with only exclusive operations
instead of mutex(9), in Linux mutexes are sleepable.
- Emulate Linux rwlock_t using rwlock(9) instead of sx(9). rwlock_t
in Linux are spin locks


# e6c4672e 12-Feb-2015 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Fix build without INVARIANTS/INVARIANT_SUPPORT:
- Replace "emulation" of return in lmutex_lock_interruptible macros by
proper static/inline function.

Submitted by: Guy Yur


# 262f27b2 05-Feb-2015 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Import VCHI driver for Broadcom's VideoCore IV GPU

Differential Revision: D1753