OpenBSD cvs log

created 2024-12-28T16:23:04Z
begin 2024-12-22T00:00:00Z
end 2024-12-23T00:00:00Z
path src/sys
commits 9

date 2024-12-22T18:00:18Z
author mglocker
files src/sys/dev/acpi/qcgpio.c log diff annotate
message Instead of doing hard-coded pin mappings on X1E machines, extract the pin
mappings from the respective ACPI tables.

This patch is an adaptation from a NetBSD commit spotted by patrick@:

https://github.com/NetBSD/src/commit/575554bd388d93cfff9174abadf2aab93fbfdf8e

Tested and ok kirill@, kettenis@

date 2024-12-22T20:02:57Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Read entry's values before releasing locks in uvm_fault_lower_io().

ok tb@, miod@, kettenis@

date 2024-12-22T20:11:26Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
message sys/uvideo: forward error bit to consumer

Some invalid frames or frames with an error flag from the camera might be
essential for a stream consumer for synchronization and other purposes.
Without this, the consumer may be unable to synchronize the stream or play
it at all.

Instead of skipping frames that the driver considers incorrect, this change
forwards them to the V4L consumer with the V4L2_BUF_FLAG_ERROR flag set,
allowing the consumer to decide whether to skip the frame or use parts of it.

The behavior for non-mmap consumers remains unchanged, and error frames
are still skipped by the driver.

This change fixes the integrated camera on:
- ThinkPad T14 Gen 5
- ThinkPad X1 nano 2
- Lenovo x13

Plus made progress with support of Elgato HD60 S+

OK: mglocker@

date 2024-12-22T20:22:53Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
message backout previous, wrong diff

date 2024-12-22T20:30:04Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
src/sys/dev/usb/uvideo.h log diff annotate
message sys/uvideo: forward error bit to consumer

Some invalid frames or frames with an error flag from the camera might be
essential for a stream consumer for synchronization and other purposes.
Without this, the consumer may be unable to synchronize the stream or play
it at all.

Instead of skipping frames that the driver considers incorrect, this change
forwards them to the V4L consumer with the V4L2_BUF_FLAG_ERROR flag set,
allowing the consumer to decide whether to skip the frame or use parts of it.

The behavior for non-mmap consumers remains unchanged, and error frames
are still skipped by the driver.

This change fixes the integrated camera on:
- ThinkPad T14 Gen 5
- ThinkPad X1 nano 2
- Lenovo x13

Plus made progress with support of Elgato HD60 S+

OK: mglocker@

date 2024-12-22T20:38:35Z
author miod
files src/sys/arch/alpha/include/cpuconf.h log diff annotate
message Remove forward declaration of struct clockframe, not needed here.

date 2024-12-22T21:55:20Z
author mglocker
files src/sys/dev/acpi/qcgpio.c log diff annotate
message Fix double space typo in printf from last commit

date 2024-12-22T22:36:23Z
author kirill
files src/sys/dev/usb/usb.c log diff annotate
message sys/usb: fix ISOCHRONOUS IN transfer offsets

Offsets for ISOCHRONOUS IN frames are now based on a fixed packet size
(xfer->length / xfer->nframes), ensuring accuracy even with shorter frames.

OK: mpi@

date 2024-12-22T23:30:27Z
author patrick
files src/sys/dev/ic/qwz.c log diff annotate
src/sys/dev/ic/qwzreg.h log diff annotate
src/sys/dev/ic/qwzvar.h log diff annotate
message Update num vdevs and peers definition to bring qwz(4) up to trying to scan.