DXGKDDI_SETROOTPAGETABLE callback function
为指定的Context切换Root page table. DXGK会在该Context关联的Context的Root page table在内存中移动或者改变大小时通知Context。
在同步级别level1上,当root page table 被更新时,该context应该保证为idle.
Syntax
C++Copy
DXGKDDI_SETROOTPAGETABLE DxgkddiSetrootpagetable;
void DxgkddiSetrootpagetable(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETROOTPAGETABLE pSetPageTable
)
{...}
Parameters
hAdapter
Adapter的句柄
pSetPageTable
DXGKARG_SETROOTPAGETABLE描述具体的参数.包括指定了Context,该Context由DxgkDdiCreateContext中返回。和Page Table 的GPU 物理地址,以及Page table中的页表项数量。
Return value
None
Requirements
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3dkmddi.h |