bjorn3
|
d274ac2817
|
drivers/graphics: Return proper pitch to the drm client for dumb buffers
|
2026-03-22 19:53:38 +01:00 |
|
bjorn3
|
8ae815aca7
|
drivers/graphics: Replace width and height methods on Buffer with size
A buffer is not necessarily a framebuffer. It may also be a blob of
bytes.
|
2026-03-22 19:46:32 +01:00 |
|
bjorn3
|
7177fe0a86
|
drivers/graphics: Implement shadow buffer for dumb buffers
This is necessary to get even remotely acceptable performance when dumb
buffers are backed by write-combining memory.
|
2026-03-21 19:01:54 +01:00 |
|
bjorn3
|
6def27936a
|
drivers/graphics: Pass KmsCrtcState to set_crtc
|
2026-03-20 23:19:50 +01:00 |
|
bjorn3
|
d08300c8b5
|
drivers/graphics: Make objects generic over GraphicsAdapter rather than specific driver data
|
2026-03-20 23:19:50 +01:00 |
|
bjorn3
|
eaa390156d
|
drivers/graphics: Split out state modified during atomic mode setting
|
2026-03-19 23:39:32 +01:00 |
|
bjorn3
|
5b88dadc4f
|
drivers/graphics: Move connector<->crtc binding to KmsConnector
A connector can only get input from one CRTC and the CRTC_ID property is
on the connector. There is no CONNECTOR_IDS property on CRTCs.
|
2026-03-19 23:25:37 +01:00 |
|
bjorn3
|
dcf1e5cdd6
|
drivers/graphics: Derive property values from object fields
|
2026-03-19 22:46:44 +01:00 |
|
bjorn3
|
79e9e0987d
|
drivers/graphics: Move property values into individual objects
|
2026-03-19 22:26:55 +01:00 |
|
bjorn3
|
cdb4ec4575
|
drivers/graphics: Remove unnecessary graphic-ipc dependencies
And other unnecessary dependencies. Also move all graphics-ipc contents
to the top of the crate.
|
2026-03-17 20:26:18 +01:00 |
|
bjorn3
|
09a23a3c4a
|
drivers/graphics: Remove Damage from graphics-ipc
|
2026-03-17 20:19:52 +01:00 |
|
bjorn3
|
e27726e8c3
|
drivers/graphics: Remove GraphicsAdapter::display_count
|
2026-03-15 13:30:00 +01:00 |
|
bjorn3
|
93a8179d1f
|
drivers/graphics: Remove GraphicsAdapter::display_size
It is no longer used.
|
2026-03-15 13:10:25 +01:00 |
|
bjorn3
|
d7974b3143
|
drivers/graphics: Nicer way to define standard properties
All standard properties are now pre-allocated at KmsObjects creation and
given a fixed object id.
|
2026-03-15 12:29:51 +01:00 |
|
bjorn3
|
be6ae85541
|
drivers/graphics: Implement proper support for framebuffers
Including support for creating and destroying framebuffers.
|
2026-03-15 11:19:59 +01:00 |
|
bjorn3
|
359e845437
|
drivers/graphics: Rename buffer related fields and variables
And clarify that buffers have a separate index namespace by removing
usage of dumb_buffer_id.
|
2026-03-14 15:29:08 +01:00 |
|
bjorn3
|
84f6f67a98
|
drivers/graphics: Implement the cursor drm ioctls
|
2026-03-14 14:15:13 +01:00 |
|
bjorn3
|
985612d5e0
|
drivers/graphics: Changes to support SETCRTC in the future
|
2026-03-14 12:52:51 +01:00 |
|
bjorn3
|
63ca9efb8c
|
drivers/graphics: Introduce CRTC objects
Currently still read-only.
|
2026-03-14 12:37:41 +01:00 |
|
bjorn3
|
20834544b7
|
drivers/graphics: Move KMS object handling to a submodule
|
2026-03-13 23:57:14 +01:00 |
|
bjorn3
|
977e13077d
|
drivers/graphics: Require Debug to be implemented for Buffer
|
2026-03-13 23:23:16 +01:00 |
|
bjorn3
|
f6a7c194b2
|
drivers/graphics: Refcount all DRM objects
This is necessary to be able to properly handle objects that reference
each other and in doing so keep each other alive.
|
2026-03-13 23:23:15 +01:00 |
|
bjorn3
|
7f8ddd7a7e
|
drivers/graphics: Add helpers for updating the connector state
|
2026-03-13 22:15:59 +01:00 |
|
bjorn3
|
c088e48948
|
drivers/graphics: Move DrmConnector and DrmEncoder to a separate module
|
2026-03-13 21:57:44 +01:00 |
|
bjorn3
|
d329c5b24a
|
drivers/graphics: Allow disabling display output by setting no framebuffer
|
2026-03-13 19:42:17 +01:00 |
|
bjorn3
|
c8c5a3e240
|
drivers/graphics: Remove separate cursor framebuffer create/map methods
|
2026-03-13 19:42:17 +01:00 |
|
bjorn3
|
4317189d7b
|
drivers/graphics: Unify buffer types between regular and cursor planes
Also correct the cursor size for virtio-gpu.
|
2026-03-13 19:42:17 +01:00 |
|
bjorn3
|
0d0fbd1935
|
drivers/graphics: Mostly remove support for the v1 graphics api
Orbclient still needs opening + fpath support for the v1 graphics api.
|
2026-03-12 21:40:40 +01:00 |
|
bjorn3
|
60754b6fde
|
drivers/graphics: Support detecting hardware cursors for DRM
|
2026-03-12 20:52:44 +01:00 |
|
bjorn3
|
331189d846
|
Rustfmt
|
2026-03-07 22:12:56 +01:00 |
|
bjorn3
|
48c652f5d1
|
Move DisplayHandle creation into GraphicsScheme::new
|
2026-03-07 17:49:45 +01:00 |
|
bjorn3
|
3c79908b5a
|
drivers/graphics: Directly pass scheme name to DisplayHandle::new
|
2026-03-06 22:55:50 +01:00 |
|
Wildan M
|
36e2fbd537
|
virtio-gpud: Don't crash on no edid descriptor
|
2026-02-08 15:50:58 +07:00 |
|
bjorn3
|
fc1c391340
|
Move common::init call into pcid_interface::pci_daemon
|
2026-01-25 20:08:49 +01:00 |
|
Ibuki Omatsu
|
334928f151
|
feat: Introduce userspace namespace manager and adapt all schemes.
|
2026-01-20 20:56:58 -07:00 |
|
bjorn3
|
ff3cb3ce64
|
drivers/graphics/virtio-gpud: Poor attempt at parsing the EDID data
|
2025-12-22 11:30:02 +01:00 |
|
bjorn3
|
510d3576df
|
driver/graphics: Add support for blob properties
And support fetching the EDID in virtio-gpud.
|
2025-12-21 21:56:35 +01:00 |
|
bjorn3
|
13f8b090cf
|
driver/graphics: Initial support for object properties
No support for writing property values or reading blob properties yet.
|
2025-12-21 21:56:30 +01:00 |
|
bjorn3
|
15fb94aabb
|
driver/graphics: Ensure determinstic iteration order for resources
|
2025-12-20 20:57:47 +01:00 |
|
bjorn3
|
521fd433b9
|
driver/graphics: Implement Debug for a bunch of things
|
2025-12-20 20:39:24 +01:00 |
|
bjorn3
|
090a63d5c6
|
drivers/graphics: Only pass driver data to add_connector
And instead fill out the rest of DrmConnector in probe_connector.
|
2025-12-20 20:25:29 +01:00 |
|
bjorn3
|
816d661c9d
|
drivers/graphics: Implement force probing of connectors in virtio-gpud
|
2025-12-20 20:24:04 +01:00 |
|
bjorn3
|
0e98a36495
|
drivers/graphics: Introduce DrmObjects and track connectors and encoders using it
|
2025-12-20 16:36:55 +01:00 |
|
bjorn3
|
621dd6ac2f
|
drivers/graphics/graphics-ipc: Use drm-sys for types and consts copied from DRM
|
2025-12-14 22:31:39 +01:00 |
|
bjorn3
|
47d6f879fb
|
drivers/graphics/graphics-ipc: Nicer version handling of version command
|
2025-12-14 20:25:30 +01:00 |
|
bjorn3
|
0c8f1b56d7
|
drivers/graphics/graphics-ipc: Add counterparts for the VERSION, GET_CAP and SET_CLIENT_CAP drm ioctls
|
2025-12-14 17:51:37 +01:00 |
|
bjorn3
|
3abe41d258
|
drivers/pcid: Add pci_daemon function
This handles daemonization and getting the PciFunctionHandle.
|
2025-12-04 11:44:29 +01:00 |
|
bjorn3
|
f06923b201
|
Standardize main function of all daemons
|
2025-12-04 11:44:29 +01:00 |
|
bjorn3
|
f1057b6750
|
daemon: Abort on errors
All users did this anyway. And handling it inside the daemon crate
allows avoiding a panic of the parent process when the child process
panicked.
|
2025-12-03 21:55:47 +01:00 |
|
bjorn3
|
54d81e7423
|
Merge redox-daemon into this repo
|
2025-12-03 21:07:13 +01:00 |
|