Files
mac_linuxgpu/host/MacLinuxGPUHost-Bridging-Header.h
geramyloveless 7bf967c52c Display calls: the host's own call is tested against the driver's checks
Build 242's host started display ops without a structure output, and the
driver refused PROBE, SHOW, OFF, STATUS and MODES for it; the test of the
driver's side offered 4096 bytes in every mocked call, so nothing showed
it.

The start of a display op moves into host/display_call.h
(mlg_display_call_start), which the host app calls: an async call of the
display selector carrying MLG_DISPLAY_REPORT_MAX bytes of structure
output, every op's largest. test-display-async builds that header with
IOConnectCallAsyncMethod replaced by a capture, hands the driver's own
display_call what the kernel would (scalars, structure input, output
capacity, completion) for every op that can sleep, and requires each to
be accepted and completed; the same call without an output capacity is
refused. With the header passing no output the test fails.
2026-10-04 22:32:04 -07:00

14 lines
659 B
C

/* Swift bridging header for the host app: the C firmware servicer that
* answers the dext's on-demand firmware requests during InitDevice. */
#include "fw_mailbox_service.h"
/* The display agent's virtual displays (display-agent --create). */
#include "CGVirtualDisplayPrivate.h"
/* Darwin notifications between the display daemon and the menu bar. */
#include <notify.h>
/* Selectors as the driver serves them: synchronous when they never sleep,
* else async session calls awaited on the calling thread. */
#include "selector_call.h"
/* The start of a display op that can sleep, with the output capacity the
* driver checks. */
#include "display_call.h"