Commit Graph

2575 Commits

Author SHA1 Message Date
Ibuki Omatsu e405b11d43 fix: Write responses after polling requests in audio and net drivers. 2025-12-24 06:33:59 -07:00
Jeremy Soller 91dc324ed2 Merge branch 'gpu_drm11' into 'main'
Various graphics infrastructure refactorings and fix ihdgd when BIOS data can't be mapped

See merge request redox-os/base!78
2025-12-22 06:41:27 -07:00
bjorn3 d76d583048 drivers/graphics/ihdgd: Don't fail when physmap of the BIOS region fails 2025-12-22 12:32:42 +01:00
bjorn3 f9fa43df40 drivers/graphics/ihdgd: Move I2cBB creation to GpioPort 2025-12-22 12:32:42 +01:00
bjorn3 a4a0fbd198 drivers/graphics/ihdgd: Move edid probing into ddi.rs 2025-12-22 11:48:47 +01:00
bjorn3 ff3cb3ce64 drivers/graphics/virtio-gpud: Poor attempt at parsing the EDID data 2025-12-22 11:30:02 +01:00
bjorn3 d5cf3db428 drivers/graphics: Move handling of properties to a separate file 2025-12-22 10:48:35 +01:00
bjorn3 461b8d6706 drivers/graphics: Introduce DrmObject trait to reduce code duplication 2025-12-22 10:48:35 +01:00
Jeremy Soller adfe27cf34 Merge branch 'gpu_drm10' into 'main'
Begin supporting DRM object properties

See merge request redox-os/base!77
2025-12-21 14:02:36 -07:00
bjorn3 510d3576df driver/graphics: Add support for blob properties
And support fetching the EDID in virtio-gpud.
2025-12-21 21:56:35 +01:00
bjorn3 13f8b090cf driver/graphics: Initial support for object properties
No support for writing property values or reading blob properties yet.
2025-12-21 21:56:30 +01:00
bjorn3 3f982185f2 Update redox-ioctl 2025-12-21 21:55:47 +01:00
Jeremy Soller c15b0f31bb Merge branch 'gpu_drm9' into 'main'
Introduce DrmObjects and track connectors and encoders using it

See merge request redox-os/base!76
2025-12-20 13:02:48 -07:00
bjorn3 15fb94aabb driver/graphics: Ensure determinstic iteration order for resources 2025-12-20 20:57:47 +01:00
bjorn3 521fd433b9 driver/graphics: Implement Debug for a bunch of things 2025-12-20 20:39:24 +01:00
bjorn3 090a63d5c6 drivers/graphics: Only pass driver data to add_connector
And instead fill out the rest of DrmConnector in probe_connector.
2025-12-20 20:25:29 +01:00
bjorn3 816d661c9d drivers/graphics: Implement force probing of connectors in virtio-gpud 2025-12-20 20:24:04 +01:00
Jeremy Soller 866e2e7222 Merge branch 'gpu_drm8' into 'main'
Update redox-ioctl

See merge request redox-os/base!75
2025-12-20 09:06:55 -07:00
bjorn3 0e98a36495 drivers/graphics: Introduce DrmObjects and track connectors and encoders using it 2025-12-20 16:36:55 +01:00
bjorn3 40510aa759 Update redox-ioctl 2025-12-20 16:31:49 +01:00
Jeremy Soller b1c95d31e7 ihdgd: start parsing BIOS tables 2025-12-19 08:15:06 -07:00
Ribbon 499b26e6a4 Some improvements and fixes to the drivers README 2025-12-18 18:41:06 -03:00
Jeremy Soller 9600238eab Merge branch 'misc_graphics_changes' into 'main'
Misc graphics subsystem changes

See merge request redox-os/base!74
2025-12-18 13:28:12 -07:00
bjorn3 c46d5dea7a drivers/graphics/fbbootlogd: Reduce flickering while scrolling 2025-12-18 21:12:19 +01:00
bjorn3 aa0373af61 drivers/graphics: Move dumb buffer creation into console-draw 2025-12-18 20:49:17 +01:00
bjorn3 fe383e5ee0 drivers/graphics: Exclusively use V2DisplayMap in the public api of console-draw 2025-12-18 20:39:31 +01:00
Jeremy Soller ebf3680dae Merge branch 'ihdgd_cleanup' into 'main'
drivers/graphics/ihdgd: Fix a bunch of warnings

See merge request redox-os/base!73
2025-12-18 12:17:42 -07:00
bjorn3 03783e61e9 drivers/graphics: Move DisplayMap to console-draw
And inline a bunch of V2GraphicsHandle methods
2025-12-18 20:17:21 +01:00
Jeremy Soller 0fee261866 Allow reading PCI ROM address and size 2025-12-18 12:15:23 -07:00
bjorn3 123fe53c5d driver/graphics/graphics-ipc: Remove most helpers for the v1 api
They aren't used within this repo and orbital has it's own copy of the
rest.
2025-12-18 20:14:12 +01:00
bjorn3 2422b3860c drivers/graphics/ihdgd: Fix a bunch of warnings 2025-12-18 19:58:41 +01:00
Jeremy Soller 5b4a664111 cargo fmt 2025-12-18 11:04:56 -07:00
Jeremy Soller 9ea76934e0 Merge branch 'ihdgd' into 'main'
ihdgd driver

See merge request redox-os/base!46
2025-12-18 10:49:38 -07:00
Jeremy Soller c49075a3be Disable usbscsid until it is more reliable 2025-12-18 10:48:06 -07:00
Jeremy Soller c772ba8924 ihdgd driver 2025-12-18 10:48:05 -07:00
Jeremy Soller 2ed4eb92b2 Merge branch 'gpu_drm7' into 'main'
Mostly use drm ioctls in graphics_ipc::v2

See merge request redox-os/base!72
2025-12-18 06:33:29 -07:00
bjorn3 a4a5d86efa drivers/graphics: Use drm dumb buffer ioctls 2025-12-18 10:36:37 +01:00
bjorn3 e8bf0d180b drivers/graphics: Use DRM_IOCTL_MODE_GETCONNECTOR for getting display size in graphics-ipc 2025-12-18 10:36:29 +01:00
bjorn3 ac5a73210c Switch back to redox-os/relibc for redox-ioctl 2025-12-18 10:35:28 +01:00
Jeremy Soller 72317a4451 Merge branch 'ramfs-unlinkat' into 'main'
refactor: Replace unlink and rmdir with unlinkat in ramfs. Update redox-scheme and redox-rt for bootstrap.

See merge request redox-os/base!65
2025-12-17 18:46:06 -07:00
Ibuki Omatsu 3681e1b74a refactor: Replace unlink and rmdir with unlinkat in ramfs. Update redox-scheme and redox-rt for bootstrap. 2025-12-17 18:46:05 -07:00
Jeremy Soller 7ff1d4546d Merge branch 'p3' into 'main'
fix(bootstrap/procmgr): on child exit, do not set `stop_or_continue` when sending `SIGCHLD`

See merge request redox-os/base!71
2025-12-16 20:32:54 -07:00
Anhad Singh 106c078923 fix(bootstrap/procmgr): on child exit, do not set stop_or_continue
when sending `SIGCHLD`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-17 14:29:52 +11:00
Ribbon 747d24ece0 Add a driver licensing note 2025-12-16 21:46:18 -03:00
Ribbon 723364cb45 Improve, update and remove unnecessary READMEs 2025-12-16 21:34:36 -03:00
Jeremy Soller e3c90a6f04 Merge branch 'gpu_drm6' into 'main'
drivers/graphics/graphics-ipc: Use redox-ioctl

See merge request redox-os/base!70
2025-12-16 13:00:58 -07:00
bjorn3 207be75768 drivers/graphics/graphics-ipc: Use redox-ioctl 2025-12-16 20:59:33 +01:00
Jeremy Soller 2a0017bcf2 Merge branch 'p3' into 'main'
fix(ipcd/uds/stream): handle zero-byte payload

See merge request redox-os/base!69
2025-12-16 07:03:17 -07:00
Anhad Singh 9496f6f486 fix(ipcd/uds/steam): perform checks before get_uid_gid_from_pid
Fix
https://gitlab.redox-os.org/redox-os/base/-/merge_requests/69#note_47265

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-16 22:14:40 +11:00
Anhad Singh 383bd436d8 fix(ipcd/uds/stream): handle zero-byte payload
* sendmsg(2) on `SOCK_STREAM` with zero-byte payload is a no-op even if
  ancillary data is present. Note that this does not apply to
  `SOCK_DGRAM`.
* Pass the `msg_flags` to `get_connected_pear` as non-blocking behaviour
  may be requested.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-16 21:19:53 +11:00