Commit Graph

15 Commits

Author SHA1 Message Date
auronandace cea71ae627 sgtty and sys_ioctl header cleanup 2026-01-21 10:50:36 +00:00
sourceturner 582e6eba69 Use unsafe blocks in some more unsafe functions
Building with redoxer showed some more places
that have to use unsafe blocks
2026-01-21 00:41:43 +01:00
bjorn3 a710decf1b Add drm MODE_GET_PROPERTY, MODE_SET_PROPERTY and MODE_GET_PROP_BLOB 2025-12-21 20:38:53 +01:00
bjorn3 b69c6a2e11 Add drm MODE_ADD_FB and MODE_RM_FB 2025-12-20 22:10:39 +01:00
Jeremy Soller c489dee545 Add TIOCGSID definition for Redox 2025-12-19 13:38:20 -07:00
bjorn3 22f5f23642 Support dumb buffer drm ioctls 2025-12-17 22:56:11 +01:00
bjorn3 2199c0fa10 Remove unused method from drm::Dev 2025-12-17 22:14:32 +01:00
bjorn3 61dc527156 Move drm ioctl (de)serialization into a new redox-ioctl crate
This will make it easier to share this code with gpu drivers in the base
repo.
2025-12-16 20:38:05 +01:00
bjorn3 c4ffcedbd0 Port remaining drm ioctls to the new infrastructure 2025-12-15 23:34:44 +01:00
bjorn3 cf90f89b42 Introduce infrastructure for serializing ioctls
And use it for a couple of drm interfaces
2025-12-15 22:26:52 +01:00
bjorn3 93f9401cf0 Use drm-sys for DRM types and consts 2025-12-14 22:32:43 +01:00
bjorn3 d70e2dc610 drm: Use new VERSION, GET_CAP and SET_CLIENT_CAP driver commands 2025-12-14 20:47:41 +01:00
bjorn3 395c686f8d Rustfmt 2025-12-14 20:46:36 +01:00
bjorn3 6bce162b92 Fix read-only and write-only ioctls
Read-only ioctls write data to userspace, while write-only ioctls read
data from userspace. This matches the read and write syscalls.
2025-12-14 20:45:26 +01:00
Jeremy Soller 105b24a21f Implement DRM ioctls for Redox 2025-12-14 08:39:00 -07:00