Commit Graph

1504 Commits

Author SHA1 Message Date
Jeremy Soller 62fab168e5 Update to latest acpi crate 2025-09-28 08:53:18 -06:00
Jeremy Soller 6b335d4f90 hwd: decode some ACPI IDs 2025-09-27 18:22:05 -06:00
Jeremy Soller 0b3d81e06b lived: preserve original disk data for performant installer 2025-09-25 09:50:06 -06:00
Jeremy Soller 407533201f Add tested Thinkpad T60 ethernet to e1000d driver 2025-09-24 17:26:07 -06:00
Jeremy Soller 85db6774fb Merge branch 'allow_larger_fbs' into 'master'
graphics/driver-graphics: Allow larger framebuffers

See merge request redox-os/drivers!285
2025-09-23 14:34:45 -06:00
bjorn3 1756244e10 graphics/driver-graphics: Allow larger framebuffers
Previously only frame buffers up to 0x1_000_000 bytes were allowed,
while we use 0x10_000_000 as multiplier for the fake offsets and thus
can safely accept framebuffers this large. This should be enough for 4k
displays.
2025-09-23 22:28:19 +02:00
Jeremy Soller 19570db45e Merge branch 'xhci-csz' into 'master'
xhci: support 64-bit contexts (CSZ)

See merge request redox-os/drivers!283
2025-09-12 09:42:58 -06:00
Jeremy Soller 00b06cb915 xhci: support 64-bit contexts (CSZ) 2025-09-12 09:42:58 -06:00
Jeremy Soller 12e601b336 xhcid: improvements based on real hardware testing 2025-09-11 21:06:21 -06:00
Jeremy Soller 69a80a6a13 xhcid: fix reset procedure on real hardware 2025-09-11 15:31:15 -06:00
Jeremy Soller 1577506765 Merge branch 'pci_interrupts_rework3' into 'master'
Various interrupt handling improvements

See merge request redox-os/drivers!282
2025-08-31 09:49:08 -06:00
bjorn3 131063eb0e Rustfmt 2025-08-31 16:07:57 +02:00
bjorn3 7e3e841f69 xhcid: Fix reading EHB flag in received_irq 2025-08-31 15:58:56 +02:00
bjorn3 e4aab16782 xhcid: Don't exit the event loop when using irqs 2025-08-31 15:58:56 +02:00
bjorn3 2c9be2e9b8 xhcid: Remove unused InterruptSources methods and fields 2025-08-31 15:58:15 +02:00
bjorn3 b9ce02ea90 storage/nvmed: Remove unused InterruptSources methods and fields 2025-08-30 20:11:05 +02:00
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