Jeremy Soller
cbc4987dc4
Merge branch 'pci_interrupts_rework4' into 'master'
...
Cleanup and deduplicate a bunch of MSI/MSI-X handling
See merge request redox-os/drivers!281
2025-08-30 11:29:31 -06:00
bjorn3
2945b86b82
pcid: Helper to allocate first MSI interrupt
2025-08-30 19:14:01 +02:00
bjorn3
ea47c97bf8
Check for MSI-X before checking for MSI
2025-08-30 19:14:01 +02:00
bjorn3
0a314b0bad
nvmed: Use std::hint::spin_loop
2025-08-30 19:14:01 +02:00
bjorn3
0b6b5e0d04
pcid: Move MappedMsixRegs to pcid_interface
2025-08-30 19:14:01 +02:00
bjorn3
191e6ac4eb
pcid: Disable MSI and MSI-X before launching a driver
2025-08-30 18:34:41 +02:00
bjorn3
e4609257fa
Merge branch 'fbcond-vim-panic' into 'master'
...
Fix fbcond panicking when vim quit
See merge request redox-os/drivers!280
2025-08-30 12:48:59 +00:00
Wildan Mubarok
259999c9c3
Fix fbcond panicking when vim quit
2025-08-30 12:27:35 +00:00
Jeremy Soller
8f278dcb63
Merge branch 'fix-xhci-panic' into 'master'
...
Fix possible panic in device enumeration
See merge request redox-os/drivers!279
2025-08-25 07:21:30 -06:00
Wildan M
34b37410be
Merge branch 'master' of https://gitlab.redox-os.org/willnode/drivers into fix-xhci-panic
2025-08-24 20:10:01 +07:00
Wildan M
e8bfe4448c
Fix possible panic in device enumeration
2025-08-24 20:06:14 +07:00
Jeremy Soller
36e37958c9
e1000d: do not print in busy loop
2025-07-11 09:06:10 -06:00
Jeremy Soller
c39c26ebe7
Merge branch 'virtio_gpu_resize2' into 'master'
...
graphics/fbcond: Handle display resizing
See merge request redox-os/drivers!277
2025-07-07 14:56:09 -06:00
bjorn3
a6a6dce185
graphics/fbcond: Handle display resizing
...
Currently resizing only happens when writing to the terminal.
2025-07-07 21:59:08 +02:00
bjorn3
b5caa86906
graphics/fbcond: Use the v2 graphics api
2025-07-07 21:59:07 +02:00
Jeremy Soller
cc7170faf7
Merge branch 'graphics_improvements' into 'master'
...
Various improvements to the graphics subsystem
See merge request redox-os/drivers!276
2025-07-07 12:53:41 -06:00
bjorn3
93e95f6fe8
graphics: Fix memory leak when resizing the display
2025-07-06 16:22:53 +02:00
bjorn3
ded7a6ed86
graphics/graphics-ipc: Update handle doc comments
2025-07-06 15:30:05 +02:00
bjorn3
918efd01cd
graphics/fbcond: Inline open_display
2025-07-06 15:28:42 +02:00
bjorn3
9abeafde8d
graphics: Move disable-graphical-debug to driver-graphics
...
This ensures it graphical debug gets disabled even when vesad never
runs.
2025-07-05 15:43:21 +02:00
bjorn3
e59d4ac7e1
graphics/vesad: Move FrameBuffer to scheme.rs
2025-07-05 15:21:40 +02:00
Jeremy Soller
1659cacf60
Merge branch 'update_redox_scheme_0_6' into 'master'
...
Update most crates to redox-scheme 0.6
See merge request redox-os/drivers!275
2025-07-04 14:44:37 -06:00
bjorn3
04ae0158c9
Update most crates to redox-scheme 0.6
...
A couple of crates need to stay on redox-scheme 0.4 as they need
cancellation for async schemes.
2025-07-04 22:13:24 +02:00
Jeremy Soller
ba3e2b7679
Merge branch 'virtio_gpu_ub_fix' into 'master'
...
graphics/virtio-gpud: Destroy virtio-gpu resource before freeing fb memory
See merge request redox-os/drivers!274
2025-07-03 13:02:47 -06:00
bjorn3
a261f1257d
graphics/virtio-gpud: Destroy virtio-gpu resource before freeing fb memory
...
This fixes a gpu side use-after-free.
2025-07-03 20:57:55 +02:00
Jeremy Soller
813a29b5ba
Merge branch 'virtio_gpu_resize' into 'master'
...
graphics: Handle virtio-gpu display resizing in fbbootlogd
See merge request redox-os/drivers!273
2025-07-02 09:33:48 -06:00
bjorn3
cc0db37209
graphics/fbbootlogd: Use the new graphics api
2025-07-02 15:43:55 +02:00
bjorn3
4f7b0eb6b6
graphics: Introduce a new graphics api
...
This allows page flipping and handling display resizing. Hardware
cursors and getting notifications about display resizing are not yet
supported.
2025-07-02 15:43:55 +02:00
bjorn3
27ca1c3296
graphics/virtio-gpud: Handle VIRTIO_GPU_EVENT_DISPLAY
...
This doesn't yet provide a way for individual consumers to resize their
own framebuffer in response to the display changing size.
2025-07-02 15:16:52 +02:00
Jeremy Soller
181f0ea4ec
Merge branch 'driver_graphics_improvements' into 'master'
...
Various changes to driver-graphics
See merge request redox-os/drivers!272
2025-07-01 15:58:14 -06:00
bjorn3
8ac07539b0
graphics/driver-graphics: Handle mmap offset
2025-07-01 21:46:20 +02:00
bjorn3
2f756fd29d
virtio-core: Fix a warning
2025-07-01 21:44:06 +02:00
bjorn3
565add84b1
graphics/driver-graphics: Update to redox-scheme 0.6
2025-07-01 21:40:57 +02:00
Jeremy Soller
10cd204e60
Merge branch 'graphics_refactorings' into 'master'
...
graphics: Various refactorings
See merge request redox-os/drivers!271
2025-06-30 15:18:49 -06:00
bjorn3
7f3f181775
graphics/virtio-gpud: Create DisplayHandle after registering the scheme
...
This fixes a race-condition. It is unlikely to cause issues in practice
though.
2025-06-30 23:03:40 +02:00
bjorn3
7f5c58892c
graphics/driver-graphics: Eagerly create contents of VtState
2025-06-30 23:01:52 +02:00
bjorn3
7882372dab
graphics/driver-graphics: Introduce VtState
...
This contains the current state for a single VT.
2025-06-30 22:10:02 +02:00
bjorn3
c2249f2fa0
graphics/driver-graphics: Couple of minor changes
2025-06-30 21:40:02 +02:00
bjorn3
993b23e63c
graphics/driver-graphics: Prepare for future abi versions
2025-06-30 20:04:40 +02:00
bjorn3
74bb9f40e5
graphics/graphics-ipc: Introduce a common module for code shared between versions
2025-06-30 19:59:52 +02:00
bjorn3
56d4fdd025
graphics: Replace adapter.displays() with .display_count()
2025-06-30 19:58:25 +02:00
bjorn3
5ddddd91df
graphics: Pass CursorPlane by shared ref to handle_cursor
2025-06-29 18:03:01 +02:00
Jeremy Soller
b6d6ef27f0
Merge branch 'ps2d_move_expects' into 'master'
...
input/ps2d: More helpful panic locations when initializing fails
See merge request redox-os/drivers!270
2025-05-22 12:47:08 -06:00
bjorn3
ff7325df14
input/ps2d: More helpful panic locations when initializing fails
2025-05-22 20:44:07 +02:00
Jeremy Soller
a75f108167
Merge branch 'disk_driver_notify_early' into 'master'
...
storage: Notify readiness as soon as the disk scheme has been created
See merge request redox-os/drivers!269
2025-05-20 17:17:24 -06:00
bjorn3
71f1838eea
acpid: Rustfmt
2025-05-20 22:03:10 +02:00
bjorn3
a1b0feaadb
storage: Notify readiness as soon as the disk scheme has been created
...
This prevents boot hangs when the disk driver hangs between creating the
disk scheme and being fully initialized, while still preventing race
conditions.
2025-05-20 22:03:01 +02:00
Jeremy Soller
9403db2125
Merge branch 'ps2d-right-ctrl' into 'master'
...
Accept right ctrl key from ps2 keyboard
See merge request redox-os/drivers!268
2025-05-02 11:23:29 -06:00
Arne de Bruijn
5827a0e309
Accept right ctrl key from ps2 keyboard
...
Map both ctrl keys to K_CTRL for now, same as usbhidd.
2025-05-02 19:06:53 +02:00
Jeremy Soller
5e4d4427db
Timeout of five seconds for nvmed init
2025-04-25 12:14:09 -06:00