Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 3.35 KB

ns-d3dkmddi-_dxgk_buildpagingbuffer_notifyresidency.md

File metadata and controls

89 lines (64 loc) · 3.35 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dkmddi._DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
_DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY (d3dkmddi.h)
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY describes a residency allocation change operation.
display\dxgk_buildpagingbuffer_notifyresidency.htm
05/10/2018
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY structure
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY, DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY structure [Display Devices], _DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY, d3dkmddi/DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY, display.dxgk_buildpagingbuffer_notifyresidency
d3dkmddi.h
D3dkmddi.h
Windows
Windows 10
Windows Server 2016
Windows
display
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
_DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
d3dkmddi/_DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
d3dkmddi/DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
APIRef
kbSyntax
HeaderDef
d3dkmddi.h
_DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY
DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY

_DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY structure

-description

DXGK_BUILDPAGINGBUFFER_NOTIFYRESIDENCY describes a residency allocation change operation.

-struct-fields

-field hAllocation

The kernel mode driver handle returned from DxgkDdiCreateAllocation.

-field PhysicalAddress

The physical address of the allocation. The physical address (0, 0) is invalid and is used when the allocation is being evicted.

-field Resident

Set to 0 when the allocation is evicted and set to 1 when the allocation is committed.

-field Reserved

This member is not used and should be set to zero.

-remarks

The paging operations is issued only for allocations, for which the kernel mode driver sets the DXGK_ALLOCATIONINFOFLAGS::ExplicitResidencyNotification and AccessedPhysically flags.

The operation is issued after FillVirtual or TransferVirtual operations when the allocation is committed to a memory segment (Resident == 1). Note that the previous paging operations might not yet be finished by graphics processing unit (GPU).

The operation is issued before TransferVirtual operation when the allocation is evicted (Resident == 0) from a memory segment.

Note that the NotifyResidency operation will be issued only once during allocation eviction/commitment, while there might be several TransferVirtual/FillVirtual operations for a single allocation.

-see-also

DXGKARG_BUILDPAGINGBUFFER

DxgkDdiCreateAllocation