OpenBSD cvs log

created 2019-12-25T09:54:23Z
begin 2019-12-22T00:00:00Z
end 2019-12-23T00:00:00Z
path src/sys
commits 3

date 2019-12-22T00:07:56Z
author jsg
files src/sys/dev/pci/drm/radeon/r100.c log diff annotate
src/sys/dev/pci/drm/radeon/r200.c log diff annotate
message drm/radeon: fix r1xx/r2xx register checker for POT textures

From Alex Deucher
33c1d3bc1d5e1062844a31acc85eb50f9447f006 in linux 4.19.y/4.19.91
008037d4d972c9c47b273e40e52ae34f9d9e33e7 in mainline linux

date 2019-12-22T18:18:02Z
author kettenis
files src/sys/arch/arm64/arm64/conf.c log diff annotate
message Wire up ipmi(4).

ok deraadt@

date 2019-12-22T19:11:45Z
author cheloha
files src/sys/dev/midi.c log diff annotate
message midi(4): *sleep(9) -> *sleep_nsec(9)

These are straightforward except for the tsleep(9) conversion. ratchov@
had a bit to say about that code:

https://marc.info/?l=openbsd-tech&m=157665936017373&w=2

> The problem is that close(2) may reset the transmitter before the few
> bytes of its internal buffer is sent on the wire; there's no "wait for
> completion" feature in such simple hardware, so we just wait few
> milliseconds.
>
> The transmitter buffer size is around 16 bytes, the byte rate is 3125
> bytes/second. So if we wait at least 16B / 3125B/s = 5.12ms, we're
> safe. Waiting 10ms-20ms is enough and is unnoticeable.

Hence, in this diff we wait a flat 20ms in that situation.

ok ratchov@