Files
RedBear-OS/local
vasilito 9836626793 redox-drm virtio: implement feature negotiation + display detection
Replaced hardcoded 1280x720 with real VirtIO GPU config space
display detection:

- Added VirtIO MMIO transport register constants (spec v1.2 §4.2.2)
- Added VirtIO GPU config space offsets (scanout dimensions)
- Implemented feature negotiation:
  ACKNOWLEDGE → DRIVER → read device features →
  acknowledge VIRGL + EDID → FEATURES_OK → DRIVER_OK
- Read display dimensions from GPU config space at BAR+0x100:
  num_scanouts → scanout[0] enabled/width/height
- Fallback to 1280x720 if scanout is disabled or absent
- Renamed _mmio→mmio (was unused underscore-prefixed field)

Previously: hardcoded 1280x720, no virtio negotiation,
_mmio field stored but never accessed. Now: reads real
display dimensions from the virtio-gpu device config.
2026-07-09 15:53:32 +03:00
..
2026-07-05 22:29:19 +03:00