Commit Graph

2929 Commits

Author SHA1 Message Date
Benton60 f8eff8bec3 implement the recvmsg handler for udp 2026-03-24 12:34:05 -04:00
Benton60 c9653b50eb initial setup for recvmsg, all handlers return EOPNOTSUPP for now 2026-03-24 12:34:05 -04:00
Jeremy Soller 9f94592834 Merge branch 'doc-daemon' into 'main'
add docs for daemon

See merge request redox-os/base!201
2026-03-24 10:09:07 -06:00
auronandace b65c24b12a add docs for daemon 2026-03-24 14:26:08 +00:00
Jeremy Soller 14aeec01d9 Merge branch 'common-docs' into 'main'
add documentation to public functions in common

See merge request redox-os/base!200
2026-03-24 07:04:25 -06:00
auronandace 749d0bb5ef cargo fmt 2026-03-24 10:34:07 +00:00
auronandace a65d6c411c add documentation to public functions in common 2026-03-24 10:30:45 +00:00
Jeremy Soller e0a6c3b574 Merge branch 'thiserror' into 'main'
update thiserror and add to workspace

See merge request redox-os/base!199
2026-03-23 17:52:30 -06:00
Jeremy Soller 107f8696fd Merge branch 'gpu_drm35' into 'main'
Couple of GPU buffer improvements

See merge request redox-os/base!198
2026-03-23 07:23:21 -06:00
auronandace 29b4782015 update thiserror and add to workspace 2026-03-23 07:58:57 +00:00
bjorn3 d274ac2817 drivers/graphics: Return proper pitch to the drm client for dumb buffers 2026-03-22 19:53:38 +01:00
bjorn3 8ae815aca7 drivers/graphics: Replace width and height methods on Buffer with size
A buffer is not necessarily a framebuffer. It may also be a blob of
bytes.
2026-03-22 19:46:32 +01:00
Jeremy Soller 27ecc0f524 Merge branch 'upgrade-spin' into 'main'
upgrade to latest spin crate and add to workspace

See merge request redox-os/base!196
2026-03-22 09:49:09 -06:00
auronandace e3c6ca1573 upgrade to latest spin crate and add to workspace 2026-03-22 15:43:32 +00:00
Jeremy Soller 1a045bb752 Merge branch 'consolidate-deps' into 'main'
consolidate several dependencies into the workspace

See merge request redox-os/base!195
2026-03-22 09:24:23 -06:00
auronandace 557a3d1954 consolidate several dependencies into the workspace 2026-03-22 15:11:33 +00:00
Jeremy Soller 12034cf7b0 Merge branch 'gpu_drm34' into 'main'
drivers/graphics/ihdgd: Measure fb stride in bytes rather than pixels

See merge request redox-os/base!193
2026-03-22 06:57:55 -06:00
Jeremy Soller adca8ad85a Merge branch 'usbctl-clap' into 'main'
update clap for usbctl

See merge request redox-os/base!192
2026-03-22 06:56:39 -06:00
Jeremy Soller 4b7742255b Merge branch 'libredox' into 'main'
update libredox dependency for hwd

See merge request redox-os/base!191
2026-03-22 06:56:12 -06:00
bjorn3 fcee1d7d86 drivers/graphics/ihdgd: Measure fb stride in bytes rather than pixels
This is how stride is generally stored.
2026-03-22 12:54:34 +01:00
auronandace 2f0f5160bb update clap for usbctl 2026-03-22 09:45:09 +00:00
auronandace 5645702748 actually use workspace dependency 2026-03-22 08:28:04 +00:00
auronandace 1151ec36a9 update libredox dependency for hwd 2026-03-22 08:07:48 +00:00
Jeremy Soller bd484c51a7 Merge branch 'gpu_drm34' into 'main'
drivers/graphics: Implement shadow buffer for dumb buffers

See merge request redox-os/base!190
2026-03-21 12:06:35 -06:00
bjorn3 7177fe0a86 drivers/graphics: Implement shadow buffer for dumb buffers
This is necessary to get even remotely acceptable performance when dumb
buffers are backed by write-combining memory.
2026-03-21 19:01:54 +01:00
bjorn3 e6efc5f99b drivers/graphics/fbcond: Fix log message 2026-03-21 18:02:38 +01:00
Jeremy Soller 399671e122 Merge branch 'gpu_drm32' into 'main'
Cleanup plane configuration and framebuffer creation in ihdgd

See merge request redox-os/base!189
2026-03-21 07:22:52 -06:00
bjorn3 05ca76bf59 drivers/inputd: Remove some leftover code from the old way display resizing was handled 2026-03-21 13:49:46 +01:00
bjorn3 afa6b64104 drivers/graphics/ihdgd: Introduce DeviceFb::alloc 2026-03-21 13:31:05 +01:00
bjorn3 56552cc6b3 drivers/graphics/ihdgd: Introduce helpers to fetch current plane state 2026-03-21 13:31:05 +01:00
bjorn3 36a9669c57 drivers/graphics/ihdgd: Pass DeviceFb to Plane::set_framebuffer 2026-03-21 13:31:04 +01:00
bjorn3 b1e4bcf54b drivers/graphics/ihdgd: Extract most of the plane configuration into separate functions 2026-03-21 13:21:29 +01:00
Jeremy Soller f0c8d7d321 Merge branch 'bitflags' into 'main'
add bitflags to the workspace Cargo.toml

See merge request redox-os/base!182
2026-03-20 16:36:17 -06:00
Jeremy Soller f529dd139f Merge branch 'gpu_drm31' into 'main'
Some more preparations for atomic modesetting

See merge request redox-os/base!187
2026-03-20 16:35:53 -06:00
bjorn3 f5ce77203e drivers/graphics/ihdgd: Initialize planes inside GraphicsAdapter::init 2026-03-20 23:22:17 +01:00
bjorn3 6def27936a drivers/graphics: Pass KmsCrtcState to set_crtc 2026-03-20 23:19:50 +01:00
bjorn3 925951ce85 drivers/graphics: Make KmsCrtcState::fb_id an Option 2026-03-20 23:19:50 +01:00
bjorn3 d08300c8b5 drivers/graphics: Make objects generic over GraphicsAdapter rather than specific driver data 2026-03-20 23:19:50 +01:00
bjorn3 5e7fc9d71a drivers/graphics: Remove refcounting for all KmsObject's
Doing the refcounting outside the enum doesn't allow refcounting a
downcasted object. And most objects don't need refcounting after all.
2026-03-20 23:19:50 +01:00
Jeremy Soller 3b8cb31dca Merge branch 'gpu_drm30' into 'main'
Rework how properties are defined

See merge request redox-os/base!181
2026-03-20 13:53:47 -06:00
bjorn3 781aa57e4a drivers/graphics: Fix resizing text VTs
This fixes a regression introduced in a40be7b44
2026-03-20 20:24:18 +01:00
auronandace c88ab21c3f update bitflags for xhcid 2026-03-20 12:07:36 +00:00
auronandace e054af78c0 update bitflags for ps2d 2026-03-20 11:58:53 +00:00
auronandace 6cbf83995c remove bitflags from ac97d 2026-03-20 11:55:27 +00:00
auronandace bba8eac7cb remove bitflags from ahcid 2026-03-20 11:52:15 +00:00
auronandace 7be03d1815 add bitflags to the workspace Cargo.toml 2026-03-20 08:46:28 +00:00
bjorn3 eaa390156d drivers/graphics: Split out state modified during atomic mode setting 2026-03-19 23:39:32 +01:00
bjorn3 5b88dadc4f drivers/graphics: Move connector<->crtc binding to KmsConnector
A connector can only get input from one CRTC and the CRTC_ID property is
on the connector. There is no CONNECTOR_IDS property on CRTCs.
2026-03-19 23:25:37 +01:00
bjorn3 e49dc8e8be drivers/graphics: Introduce define_object_props helper macro 2026-03-19 22:56:46 +01:00
bjorn3 dcf1e5cdd6 drivers/graphics: Derive property values from object fields 2026-03-19 22:46:44 +01:00