Commit Graph

3122 Commits

Author SHA1 Message Date
bjorn3 e2c67fa8f8 drivers/graphics/virtio-gpu: Extract create_dumb_buffer_inner as async function 2026-05-13 20:00:25 +02:00
bjorn3 ebdf681eab drivers/graphics/virtio-gpu: Introduce send_request_cursor 2026-05-13 19:46:56 +02:00
Jeremy Soller 68abd4bd56 Merge branch 'gpu_drm38' into 'main'
drivers/graphics/driver-graphics: Match error codes of Linux

See merge request redox-os/base!263
2026-05-12 14:08:24 -06:00
bjorn3 7c533510a9 drivers/graphics/driver-graphics: Match error codes of Linux 2026-05-12 21:15:59 +02:00
Jeremy Soller 1d0e8b556a Merge branch 'fbcond-outside-initfs' into 'main'
Move fbcond outside initfs

See merge request redox-os/base!262
2026-05-12 11:41:28 -06:00
Migue Magic 0e08a6ef00 Move fbcond outside initfs 2026-05-12 11:41:28 -06:00
Jeremy Soller 259863fcf6 Merge branch 'drm_gpu37' into 'main'
drivers/graphics: Couple of tweaks

See merge request redox-os/base!260
2026-05-10 08:05:47 -06:00
bjorn3 e4462ccc09 drivers/graphics/driver-graphics: Report dummy TILE property for connectors 2026-05-10 15:28:39 +02:00
bjorn3 3f4ad965de drivers/graphics/driver-graphics: Report ACTIVE property for CRTCs 2026-05-10 15:22:15 +02:00
bjorn3 e93431cac0 drivers/graphics/driver-graphics: Replace From and TryFrom impls with KmsObjectKind trait 2026-05-10 15:09:34 +02:00
bjorn3 009a9130d2 drivers/graphics: Report DRM_CAP_DUMB_PREFERRED_DEPTH to clients 2026-05-10 14:54:47 +02:00
bjorn3 853e050fc8 drivers/graphics/driver-graphics: Use unzip in get_object_properties_data 2026-05-10 12:17:35 +02:00
Jeremy Soller 1a0f2a4c89 Merge branch 'less_physmap' into 'main'
drivers/pcid: Map BAR through pcid

See merge request redox-os/base!259
2026-05-09 13:24:20 -06:00
bjorn3 e9fd66c78e drivers/pcid: Map BAR through pcid
This way PCI drivers don't need to use the privileged physmap interface,
but only need access to a pcid handle. This is not yet enough for
running drivers as unprivileged processes. Interrupts also need
privileges and we need IOMMU support in the kernel.
2026-05-09 20:53:21 +02:00
bjorn3 d528fb73b4 drivers: Use map_bar instead of physmap where possible
Physmap requires root, while map_bar in the future could be run as
unprivileged process given a pcid handle for the target device.
2026-05-09 20:12:41 +02:00
Jeremy Soller 0f2291ed8b Merge branch 'gpu_drm36' into 'main'
drivers/graphics: Avoid unnecessary force probes

See merge request redox-os/base!258
2026-05-09 06:21:08 -06:00
bjorn3 018d795eb0 drivers/graphics: Avoid unnecessary force probes
Force probes can be rather expensive on real hardware so according to
the drm_mode_get_connector docs it should only be done at startup, on a
hotplug event and when explicitly requested by the user.
2026-05-09 12:16:22 +02:00
bjorn3 2436639271 drivers/graphics: Avoid duplicate get_connector calls 2026-05-09 12:07:58 +02:00
bjorn3 15c3327adb drivers/graphics/ihdgd: Remove unnecessary reset call
alloc_buffers already starts as empty.
2026-05-08 20:24:09 +02:00
Jeremy Soller 8e37b8d6b5 Merge branch 'update_cargo_lock' into 'main'
Update Cargo.lock

See merge request redox-os/base!257
2026-05-08 12:14:43 -06:00
bjorn3 4a3517569c Update Cargo.lock 2026-05-08 19:59:57 +02:00
Jeremy Soller 485f2949ba Merge branch 'usb-rework' into 'main'
[xhcid] Push class specific descriptor parsing to the drivers

See merge request redox-os/base!255
2026-05-07 14:37:44 -06:00
Jeremy Soller c5f098ad34 Merge branch 'drm_gpu35' into 'main'
drivers/graphics/driver-graphics: Couple of minor cleanups

See merge request redox-os/base!256
2026-05-07 14:37:11 -06:00
bjorn3 1dcf00dc8e drivers/graphics/driver-graphics: Replace hw_cursor_size with has_cursor_plane
Clients get the cursor size using get_cap. hw_cursor_size is only used
to determine the existence of a cursor plane nowadays.
2026-05-07 22:20:59 +02:00
bjorn3 e9188e0f91 drivers/graphics/driver-graphics: Reduce visibility of some functions 2026-05-07 22:20:12 +02:00
Antoine Reversat 3f6c0c706f Run cargo fmt 2026-05-07 15:22:33 -04:00
Antoine Reversat f6bb61ba18 Move report descriptor parsing into usbhid 2026-05-07 14:05:13 -04:00
Antoine Reversat e22712d920 Replace hid_descs with unknown_descs 2026-05-07 12:20:07 -04:00
Jeremy Soller e2c4a1aa28 Merge branch 'gpu_drm33' into 'main'
drivers/graphics/ihdgd: Support page flipping and back dumb buffers by gpu memory

See merge request redox-os/base!253
2026-05-06 16:00:51 -06:00
Jeremy Soller 3f58fb33f0 Merge branch 'fix-logging' into 'main'
Remove max loglevel feature from netstack and reduce default loglevel

See merge request redox-os/base!254
2026-05-06 15:24:17 -06:00
Antoine Reversat a43de9ea5d Run cargo fmt 2026-05-06 17:04:19 -04:00
Antoine Reversat ddb7de4ea7 Remove max loglevel feature from netstack and reduce default loglevel 2026-05-06 16:30:45 -04:00
bjorn3 7a08d30285 Rustfmt 2026-05-06 21:43:53 +02:00
bjorn3 8fdd5f3998 drivers/graphics/ihdgd: Replace DeviceFb with GpuBuffer for dumb buffers
Dumb buffers only have a size like GpuBuffer, not width, height and
stride like DeviceFb.
2026-05-06 21:32:32 +02:00
bjorn3 221d228f36 drivers/graphics/ihdgd: Support page flipping 2026-05-06 21:32:29 +02:00
Jeremy Soller c75e5a3c67 Update dependencies 2026-05-04 12:31:48 -06:00
Jeremy Soller 09d8f7535d Merge branch 'console-draw-optimization' into 'main'
Optimize console-draw write function

See merge request redox-os/base!252
2026-05-03 09:06:37 -06:00
Migue Magic e577bfc2ea Optimize console-draw write function 2026-05-03 09:06:37 -06:00
Jeremy Soller f445211de8 Merge branch 'uds-nowarn' into 'main'
ipcd: Don't warn for opening stat

See merge request redox-os/base!251
2026-05-02 17:58:50 -06:00
Jeremy Soller df1d306a95 Merge branch 'legacy-spawn' into 'main'
daemon: Fix boot stuck in pcid spawning drivers

See merge request redox-os/base!250
2026-05-02 06:25:07 -06:00
Wildan M 55146b6e8e ipcd: Don't warn for opening stat 2026-05-02 18:46:51 +07:00
Wildan M 9022f8a842 daemon: Fix boot stuck in pcid spawning drivers 2026-05-02 12:11:34 +07:00
Jeremy Soller 03de886c96 audiod: fix deadlock 2026-05-01 17:05:57 -06:00
Jeremy Soller 698f90a064 Merge branch 'init-stuck' into 'main'
init: Fix boot stuck caused by driver exiting

See merge request redox-os/base!249
2026-04-28 09:07:19 -06:00
Wildan M b085d6d88b build: Fix rebuilding 2026-04-28 22:03:47 +07:00
Wildan M eeee52f206 init: Fix boot stuck caused by driver exiting 2026-04-28 22:03:20 +07:00
Jeremy Soller 4b8158b111 Merge branch 'fix_compilation' into 'main'
Fix compilation

See merge request redox-os/base!248
2026-04-27 14:19:03 -06:00
bjorn3 009ffe1dbc Fix compilation 2026-04-27 22:09:53 +02:00
Jeremy Soller 6821e38eba Merge branch 'fix_init_path' into 'main'
Fix init path passed to fexec_impl

See merge request redox-os/base!247
2026-04-27 12:37:35 -06:00
bjorn3 7757d2d32f Fix init path passed to fexec_impl
Getting this path wrong breaks dynamically linking init.
2026-04-27 20:35:05 +02:00