Windows 图形显示驱动开发-WDDM 2.7功能-MCDM KM 驱动程序实现指南

驱动程序 INF 文件

MCDM 设备属于 ComputeAccelerator 类,需要在 INF 文件中指定:

[Version]
...
Class=ComputeAccelerator
ClassGuid={F01A9D53-3FF6-48D2-9F97-C8A7004BE10C}
...

驱动程序初始化

仅限计算的驱动程序必须提供执行以下步骤的 DriverEntry 函数:

  • 分配和初始化 DRIVER_INITIALIZATION_DATA 结构。 有关详细信息,请参阅 驱动程序函数支持要求 。
  • 使用初始化的结构调用 DxgkInitialize 。

 驱动程序函数支持要求

 仅计算驱动程序公开它在 DRIVER_INITIALIZATION_DATA 结构中实现的函数。

 所需的最低支持

仅限计算的驱动程序至少必须提供以下设备驱动程序接口 (DDI) 函数: 

  • DxgkDdiAddDevice
  • DxgkDdiBuildPagingBuffer
  • DxgkDdiCalibrateGpuClock
  • DxgkDdiCloseAllocation
  • DxgkDdiCollectDbgInfo
  • DxgkDdiCreateAllocation
  • DxgkDdiCreateContext
  • DxgkDdiCreateDevice
  • DxgkDdiDescribeAllocation
  • DxgkDdiDestroyAllocation
  • DxgkDdiDestroyContext
  • DxgkDdiDestroyDevice
  • DxgkDdiDpcRoutine
  • DxgkDdiFormatHistoryBuffer
  • DxgkDdiGetNodeMetadata
  • DxgkDdiGetStandardAllocationDriverData
  • DxgkDdiInterruptRoutine
  • DxgkDdiOpenAllocation
  • DxgkDdiPreemptCommand
  • DxgkDdiQueryAdapterInfo
  • DxgkDdiQueryDependentEngineGroup
  • DxgkDdiQueryDeviceDescriptor 
  • DxgkDdiQueryEngineStatus
  • DxgkDdiRemoveDevice
  • DxgkDdiResetDevice
  • DxgkDdiResetEngine
  • DxgkDdiResetFromTimeout
  • DxgkDdiRestartFromTimeout
  • DxgkDdiSetPowerState
  • DxgkDdiSetStablePowerState
  • DxgkDdiSetVirtualMachineData
  • DxgkDdiStartDevice
  • DxgkDdiStopDevice
  • DxgkDdiUnload
  • DxgkDdiQueryChildStatus
  • DxgkDdiQueryChildRelations
  • DxgkDdiQueryConnectionChange
  • DxgkDdiQueryDeviceDescriptor
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值