Commit Graph

1472 Commits

Author SHA1 Message Date
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
Jeremy Soller 5b1e472431 Clean up aml::Handler 2025-04-25 10:16:08 -06:00
Jeremy Soller 1c5d322614 Merge branch 'iopl_lib' into 'master'
Use capability-based interfaces for iopl and virttophys

See merge request redox-os/drivers!267
2025-04-19 18:13:23 +00:00
4lDO2 5c43f39641 Update syscall 2025-04-19 19:30:57 +02:00
4lDO2 cd4b7ef228 Update deps. 2025-04-17 16:13:17 +02:00
4lDO2 6ff8c9fd9a Handle level of indirection with procmgr thread fds. 2025-04-13 21:22:45 +02:00
4lDO2 96ca98c9b6 Replace virttophys by fd-based interface. 2025-04-13 21:22:45 +02:00
4lDO2 657bf13d7c Use library call for iopl. 2025-04-13 21:22:45 +02:00
Jeremy Soller 4663044e84 Merge branch 'arm64_fixes' into 'master'
Arm64 fixes

See merge request redox-os/drivers!265
2025-04-12 12:56:49 +00:00
bjorn3 1d43e39b0e pcid: Handle #address-cells on interrupt parent 2025-04-12 14:55:17 +02:00
bjorn3 7625dcd0ce pcid: Avoid legacy scheme path format 2025-04-12 14:54:50 +02:00
Jeremy Soller 11c22d29e1 Merge branch 'acpid_graceful_exit' into 'master'
acpid: Gracefully exit on non-ACPI systems

See merge request redox-os/drivers!264
2025-04-12 12:16:43 +00:00
bjorn3 328f96bd8f acpid: Gracefully exit on non-ACPI systems 2025-04-12 14:13:57 +02:00
Jeremy Soller 6c261e8606 Merge branch 'log_runtime_add_sink' into 'master'
graphics/fbbootlogd: Tell logd to use us as log sink

See merge request redox-os/drivers!263
2025-04-06 19:23:44 +00:00
bjorn3 d318679112 graphics/fbbootlogd: Tell logd to use us as log sink 2025-04-06 20:11:47 +02:00
Jeremy Soller 34b1e9d70a Merge branch 'late_disable_graphic_debug' into 'master'
graphics/vesad: Disable kernel graphical debug as late as possible

See merge request redox-os/drivers!262
2025-04-06 17:54:07 +00:00
bjorn3 65c23ed77d graphics/vesad: Disable kernel graphical debug as late as possible 2025-04-06 17:12:10 +02:00