mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-23 08:59:28 -10:00
- The device has a primary node, /dev/dri/card0, next to the render node: open, stat, node types and names. Its files are never DRM master. - xf86drmMode.h: resources, CRTCs, encoders, connectors (which never probe), planes, object properties, properties, blobs and IN_FORMATS iteration, and framebuffers (AddFB2 with modifiers, RmFB, CloseFB). - drmMlgScanout: LX_SCANOUT for a primary-node descriptor of the library. drmMlgConnectorDisplay finds the macOS display that stands for a connector's monitor: the one with the vendor, model and serial number the display agent gives a virtual display for that EDID (drmMlgEdidIdentity computes them as the agent does). - test-scanout: a libdrm-mlg client on the fixture's DCN 4.0.1 output (scanout_fixture.c): the primary node without master and the driver's modeset with it open, KMS queries, framebuffers of dma-buf imports, both layers with flip syncobjs, held desktop frames, a scaled frame, the mailbox under held vblanks, detach, admission, and the client's death. - docs/macos-displays.md: section 4.