DXGK_SEGMENTBANKPREFERENCE structure

The DXGK_SEGMENTBANKPREFERENCE structure describes bank preferences for paging in an allocation.

Syntax

typedef struct _DXGK_SEGMENTBANKPREFERENCE {
  union {
    struct {
      UINT Bank0 : 7;
      UINT Direction0 : 1;
      UINT Bank1 : 7;
      UINT Direction1 : 1;
      UINT Bank2 : 7;
      UINT Direction2 : 1;
      UINT Bank3 : 7;
      UINT Direction3 : 1;
    };
    UINT Value;
  };
} DXGK_SEGMENTBANKPREFERENCE;

Members

__unnamed_union_0bf1_1

__unnamed_union_0bf1_1.__unnamed_struct_0

__unnamed_union_0bf1_1.__unnamed_struct_0.Bank0

__unnamed_union_0bf1_1.__unnamed_struct_0.Direction0

__unnamed_union_0bf1_1.__unnamed_struct_0.Bank1

__unnamed_union_0bf1_1.__unnamed_struct_0.Direction1

__unnamed_union_0bf1_1.__unnamed_struct_0.Bank2

__unnamed_union_0bf1_1.__unnamed_struct_0.Direction2

__unnamed_union_0bf1_1.__unnamed_struct_0.Bank3

__unnamed_union_0bf1_1.__unnamed_struct_0.Direction3

__unnamed_union_0bf1_1.Value

Remarks

The display miniport driver can indicate up to four bank preferences in the HintedBank member of a DXGK_ALLOCATIONINFO structure when the driver's DxgkDdiCreateAllocation function is called. Preferred-bank identifiers are one-based (that is, the first bank has an identifier of one). An identifier of zero indicates that the driver has no preference. The highest priority preference is specified in the Bank0 member; the lowest priority preference is specified in the Bank3 member. The driver can specify less than four preferences by setting the lower priority preferences of bank identifiers to zero. For example, the driver can specify two preferences by setting Bank0 and Bank1 to valid identifiers and Bank2 and Bank3 to zero. The driver can use each DirectionX member to specify the scanning direction for each bank preference independently.

The video memory manager allocates resources from preferred segments that the PreferredSegment member of DXGK_ALLOCATIONINFO specifies.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmddi.h (include D3dkmddi.h)

See Also

DXGK_ALLOCATIONINFO

DXGK_ALLOCATIONLIST

DXGK_SEGMENTPREFERENCE

DxgkDdiCreateAllocation

DxgkDdiRender