Bewerken

Delen via


DXGKDDI_SETUPPRIORITYBANDS callback function (d3dkmddi.h)

Set up the GPU scheduler priority band configuration, after adapter startup and before scheduling the first GPU work item. This call can be made in the middle of GPU work execution, and the GPU scheduler needs to use the new value during the next yield calculation.

Syntax

DXGKDDI_SETUPPRIORITYBANDS DxgkddiSetupprioritybands;

NTSTATUS DxgkddiSetupprioritybands(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETUPPRIORITYBANDS pSetupPriorityBands
)
{...}

Parameters

hAdapter

The logical adapter for which the priority band assignment is made.

pSetupPriorityBands

Pointer to a DXGKARG_SETUPPRIORITYBANDS structure that contains information to set up priority bands.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of DXGKARG_SETUPPRIORITYBANDS and then calling DxgkDdiSetupPriorityBands.

Requirements

Requirement Value
Header d3dkmddi.h