Age | Commit message (Collapse) | Author |
|
As ap192k and julia cards are very similar, this change will hopefully
help reusing part of the juilia codec initialization code as is in the
ap192k card code. No behavior change.
|
|
The set_rate method switches the AK5385 and the AK4358 chips between
single-, double- or quad-speed modes depending on the host sample
rate. This suppresses aliasing noise in 96kHz and 192kHz sample
rates.
Help and testing by Andrey Oktyabrskiy <ano at bestmx.net>. Thanks!
|
|
This allows to hook card-specific codec initialization code
called when the sample rate is changed. As codecs follow host
clock, this method will be typically used to switch between
simple-speed to double-speed modes when necessary.
|
|
|
|
The new GPIO state doesn't set masked bits and matches the default
48kHz sampling rate. As the codec uses the host clock, this is a
no-op, but this way the code is less confusing.
|
|
Tests and help from Andrey Oktyabrskiy <ano at bestmx.net>. Thanks.
|
|
ok mpi
|
|
This controller does not only support pinmuxing, but also includes
GPIO controller functionality. This is needed to e.g. turn on USB
VBus on the Turris Mox.
ok kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
property. The definition is that a regulator with this property
should never be disabled.
ok kettenis@
|
|
|
|
Prevents black screens on hotplugging a new display with Xorg running
which required a vt switch for screens to be useable.
Reported by various people on misc@. Tested by and ok sthen@
|
|
Because the RTC is still ticking it is theoretically possible for the
second to roll over while we are reading the clock. This is basically
impossible on real/practical hardware but is an interesting corner case
for e.g. a VM reading an emulated MC146818 during an exit to userspace.
This doesn't check *every* register, so if it takes you a multiple of
60 seconds to read the RTC this change won't help you. But you've got
bigger problems at that point.
"no objections" kettenis@/mlarkin@, "fine idea" deraadt
|
|
Makes scan results more reliable.
testing jmc@, kmos@, Tracey Emery
ok kettenis@ kevlo@ jmc@ phessler@
|
|
ok jsg@
|
|
From Christian Koenig
96800ba9e565ab752774cd88328f96aed28a1436 in linux 4.19.y/4.19.37
a66477b0efe511d98dde3e4aaeb189790e6f0a39 in mainline linux
|
|
late, after we enable interrupts. If the interrupt pin used for inteldrm(4)
is shared with another device, we may end up being called before the actual
interrup handler is installed resulting in a null-pointer dereference.
Fix this by adding an explicit check that the interrupt handler function
pointer has been set.
ok matthieu@, jsg@
|
|
in x_media_change(), return the errno from ieee80211_media_change() and
do the error check from x_init().
ok stsp@, jmatthew@, phessler@
|
|
ok deraadt@ phessler@ sthen@
|
|
|
|
ok deraadt@ phessler@ sthen@
|
|
the controller has an i2c read operation that's almost exactly what we
want, except it only does 64 bytes at a time, so this is pretty simple.
ok dlg@
|
|
|
|
|
|
the hotplug code doesn't need to do the same. Also the hotplug
code only configured a single bus and did that before the proper
allocation ran, so there was no chance for hotplugged ppb(4)s to
have children busses.
ok kettenis@
|
|
|
|
|
|
ok deraadt@
|
|
drive-strength properties. Needed for various HiSilicon SoCs.
ok patrick@, jsg@
|
|
Reduce code clutter by removing the file name and line number output
from witness(4). Typically it is easy enough to locate offending locks
using the stack traces that are shown in lock order conflict reports.
Tricky cases can be tracked using sysctl kern.witness.locktrace=1 .
This patch additionally removes the witness(4) wrapper for mutexes.
Now each mutex implementation has to invoke the WITNESS_*() macros
in order to utilize the checker.
Discussed with and OK dlg@, OK mpi@
|
|
ok kettenis@
|
|
there. As sys/file.h does not have an include guard don't include it in
drm_linux.c which indirectly includes fs.h via drmP.h.
|
|
|
|
The marketing names in libdrm's amdgpu.ids are based on device id and
revision id. A single device id often maps to multiple marketing names
but the same codename so stick to codenames here. The marketing names
in amdgpu.ids also do not cover all the device ids amdgpu matches on.
Use the same codenames as amdgpu.
Polaris 20 and Polaris 30 as Polaris 10.
Polaris 21 as Polaris 11.
Polaris 22 as Vega M.
|
|
- Override the default cache line size if it's set to zero
from Linux ath9k
ok stsp@, jmatthew@
|
|
for the "stub" clocks that handle the CPU clock frequency on the Hi3670.
|
|
ok patrick@
|
|
"locking against myself" panics.
|
|
seen with the "intel" X driver with the new inteldrm kernel driver.
ok (and with help from) jsg@
|
|
so clang's rule about "static inline" comes into play.
ok patrick
|
|
From Trigger Huang
b10cc08374728ea79555a1cd98f962b0f942e942 in linux 4.19.y/4.19.36
30f33126feca0fe16df9e9302ffc28a953e2eb37 in mainline linux
|
|
drm softc.
Avoids uvm_fault() when firmware is missing and radeondrm is forcibly
detached. Reported by Mihai Popescu on misc@
|
|
|
|
Reported by Gary Zibrat
|
|
of bus numbers from the parent's bus extent. On detach, which can
happen with hotplug-able devices, we should free those busses.
ok kettenis@
|
|
reading all 256 at a time was a nice idea, but meant page 0xa2 wasnt
appearing like it should. this follows what freebsd does more
closely too.
|
|
some modules seem to need more time when waiting for bytes while here.
hrvoje popovski hit the endian issue
|
|
conditional timeout_barrier(9).
OK kn@ dlg@
|
|
myx doesn't allow i2c writes, so you can only read whatever page
the firmware is already pointing at on device 0xa0. if you try to
read another page it will return ENXIO.
tested on a 10G-PCIE-8A-R with an xfp module.
|