Commit Graph

59 Commits

Author SHA1 Message Date
Ibuki Omatsu 2738f69224 feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci 2026-02-28 08:15:16 -07:00
bjorn3 3d2951a23d init: Convert vesad, fbbootlogd and fbcond to services 2026-02-26 16:38:56 +01:00
bjorn3 e55bd17530 drivers/graphics: Fix a couple of warnings 2026-02-26 16:23:32 +01:00
auronandace 4e77bb0f96 add precedence lint to drivers 2026-02-20 15:00:43 +00:00
bjorn3 0f0f12fb12 graphics/vesad: Fix multi-monitor support 2026-02-19 21:49:21 +01:00
bjorn3 7ebeceb41d init: Allow init to register the scheme for a daemon
Unfortunately the scheme still has to be created by the daemon due to a
kernel bug, but once that is fixed, it would allow delayed spawning of
scheme daemons.
2026-02-18 22:40:09 +01:00
Wildan M 36e2fbd537 virtio-gpud: Don't crash on no edid descriptor 2026-02-08 15:50:58 +07:00
bjorn3 6c01349bf4 drivers/graphics/ihdgd: Fix a warning 2026-02-07 13:18:48 +01:00
bjorn3 3d82140155 drivers/graphics/ihdgd: Minor EDID reading improvements
* Enable unproven feature of embedded-hal. We depend on it. Currently it
  gets implicitly enabled by bitbang-hal.
* Reduce nesting in probe_edid
2026-02-07 13:18:46 +01:00
Jeremy Soller 2d672b7cd9 Add anyhow to workspace 2026-01-29 10:47:45 -07:00
Jeremy Soller 3edfd63eec ihdgd: use default output level 2026-01-29 08:53:45 -07:00
bjorn3 fc1c391340 Move common::init call into pcid_interface::pci_daemon 2026-01-25 20:08:49 +01:00
Wildan M 84d5dae607 fbcond: Do not panic on absent display 2026-01-23 01:03:05 +07:00
Jeremy Soller 5223fe351c ihdgd: call common::init 2026-01-22 14:50:32 -07:00
Ibuki Omatsu 334928f151 feat: Introduce userspace namespace manager and adapt all schemes. 2026-01-20 20:56:58 -07:00
Jeremy Soller f740b61774 Use workspace dependencies for many common crates 2026-01-20 10:12:08 -07:00
Wildan M d08c6cbe6f Split driver log level env 2026-01-10 06:35:06 +07:00
Jeremy Soller 1cd9ff9103 ihdgd: fix surface allocation on cards with more than 4 GiB 2025-12-31 10:28:19 -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
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 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
bjorn3 0e98a36495 drivers/graphics: Introduce DrmObjects and track connectors and encoders using it 2025-12-20 16:36:55 +01:00
Jeremy Soller b1c95d31e7 ihdgd: start parsing BIOS tables 2025-12-19 08:15:06 -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
bjorn3 03783e61e9 drivers/graphics: Move DisplayMap to console-draw
And inline a bunch of V2GraphicsHandle methods
2025-12-18 20:17:21 +01: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 c772ba8924 ihdgd driver 2025-12-18 10:48:05 -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
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
bjorn3 207be75768 drivers/graphics/graphics-ipc: Use redox-ioctl 2025-12-16 20:59:33 +01:00
bjorn3 0eb96178db Port remaining drm ioctls to the new infrastructure 2025-12-15 23:37:16 +01:00
bjorn3 c3f4711403 Introduce infrastructure for serializing ioctls
And use it for a couple of drm interfaces
2025-12-15 22:29:18 +01:00
Wildan M bdf9e44558 Fix fmt 2025-12-16 02:35:53 +07:00
bjorn3 621dd6ac2f drivers/graphics/graphics-ipc: Use drm-sys for types and consts copied from DRM 2025-12-14 22:31:39 +01:00
bjorn3 b09bffa8b7 drivers/graphics/graphics-ipc: Actually handle SET_CLIENT_CAP 2025-12-14 20:42:59 +01:00