Supporting Kernel-Mode Command Buffers
The display miniport driver should submit a command buffer in response to a call to the DxgkDdiRenderKm function as described in Submitting a Command Buffer.
The driver can use the MultipassOffset member of the DXGKARG_RENDER structure to track the progress of input command buffer processing. For example, the display miniport driver can use the high 16 bits as an offset to the last processed command, and the low 16 bits to track the processing of the command.