DXGKDDI_UPDATENATIVEFENCELOGS callback function (d3dkmddi.h)

DxgkDdiUpdateNativeFenceLogs synchronously flushes pending native fence log writes on demand.

Syntax

DXGKDDI_UPDATENATIVEFENCELOGS DxgkddiUpdatenativefencelogs;

NTSTATUS DxgkddiUpdatenativefencelogs(
  IN_CONST_PDXGKARG_UPDATENATIVEFENCELOGS pUpdateNativeFenceLog
)
{...}

Parameters

pUpdateNativeFenceLog

[in] Pointer to a DXGKARG_UPDATENATIVEFENCELOGS structure that contains the native fence log information.

Return value

DxgkDdiUpdateNativeFenceLogs returns STATUS_SUCCESS if the flush was successful. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

A native fence log buffer can be read/written to asynchronously. To force a synchronous flush of the log buffer, the KMD can call DxgkDdiUpdateNativeFenceLogs.

The KMD should insert a memory barrier to the given HWQueue, which ensures that all log entry writes are committed.

For more information about native GPU fences and log buffer usage, see Native GPU fence objects.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dkmddi.h
IRQL DISPATCH_LEVEL

See also

DXGKARG_UPDATENATIVEFENCELOGS

DxgkDdiSetNativeFenceLogBuffer