当前位置: 首页 > article >正文

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

意外删除支持

对于可选的意外删除支持,还必须提供指向以下函数的指针:

  • DxgkDdiNotifySurpriseRemoval

取消支持

对于可选的取消支持,还必须提供指向以下函数的指针:

  • DxgkDdiCancelCommand

接口支持

对于可选接口支持,还必须提供指向以下函数的指针:

  • DxgkDdiQueryInterface

硬件计划支持

对于可选的硬件计划支持,还必须提供指向以下函数的指针:

  • DxgkDdiCreateHwContext
  • DxgkDdiCreateHwQueue
  • DxgkDdiDestroyHwContext
  • DxgkDdiDestroyHwQueue
  • DxgkDdiPresentToHwQueue
  • [DxgkDdiResetHwEngine
  • DxgkDdiResumeContext
  • DxgkDdiResumeHwEngine
  • DxgkDdiSetContextSchedulingProperties
  • DxgkDdiSetSchedulingLogBuffer
  • DxgkDdiSetupPriorityBands
  • DxgkDdiSignalMonitoredFence
  • DxgkDdiSubmitCommandToHwQueue
  • DxgkDdiSuspendContext
  • DxgkDdiSwitchToHwContextList
  • DxgkDdiUpdateHwContextState

UpdateAllocationProperty 支持

对于可选的 UpdateAllocationProperty 支持,还必须提供指向以下函数的指针:

  • DxgkDdiValidateUpdateAllocationProperty

转义支持

对于可选的转义支持,还必须提供指向以下函数的指针:

  • DxgkDdiEscape

Windows 事件跟踪支持

对于可选的 ETW 支持,还必须提供指向以下函数的指针:

  • DxgkDdiControlEtwLogging

子设备支持

对于可选的子设备支持,还必须提供指向以下函数的指针:

  • DxgkDdiGetChildContainerId

功耗报告支持

对于可选的功耗报告支持,还必须提供指向以下函数的指针:

  • DxgkDdiSetTrackedWorkloadPowerLevel

命令提交验证

对于可选的命令提交验证,还必须提供指向以下函数的指针:

  • DxgkDdiValidateSubmitCommand

IOCTL 支持

对于可选的 IOCTL 支持,可以提供指向以下函数的指针:

  • DxgkDdiDispatchIoRequest

 禁止的函数

MCDM 驱动程序中不得提供以下 DDI:

  • DxgkDdiAcquireSwizzlingRange
  • DxgkDdiCheckMultiPlaneOverlaySupport
  • DxgkDdiCheckMultiPlaneOverlaySupport2
  • DxgkDdiCheckMultiPlaneOverlaySupport3
  • DxgkDdiCommitVidPn
  • DxgkDdiControlDiagnosticReporting
  • DxgkDdiControlInterrupt
  • DxgkDdiControlInterrupt2
  • DxgkDdiControlModeBehavior
  • DxgkDdiCreateOverlay
  • DxgkDdiCreatePeriodicFrameNotification
  • DxgkDdiCreateProtectedSession
  • DxgkDdiDestroyOverlay
  • DxgkDdiDestroyPeriodicFrameNotification
  • DxgkDdiDestroyProtectedSession
  • DxgkDdiDisplayDetectControl
  • DxgkDdiEnumVidPnCofuncModality
  • DxgkDdiExchangePreStartInfo
  • DxgkDdiFlipOverlay
  • DxgkDdiGetMultiPlaneOverlayCaps
  • DxgkDdiGetPostCompositionCaps
  • DxgkDdiGetScanLine
  • DxgkDdiIsSupportedVidPn
  • DxgkDdiNotifyAcpiEvent
  • DxgkDdiNotifyFocusPresent
  • DxgkDdiPostMultiPlaneOverlayPresent
  • DxgkDdiPresent
  • DxgkDdiQueryConnectionChange
  • DxgkDdiQueryCurrentFence

 WDDM 1.x 函数

以下函数仅用于 WDDM 1.x 驱动程序:

  • DxgkDdiQueryDiagnosticTypesSupport
  • DxgkDdiQueryVidPnHWCapability
  • DxgkDdiRecommendFunctionalVidPn
  • DxgkDdiRecommendMonitorModes
  • DxgkDdiRecommendVidPnTopology
  • DxgkDdiReleaseSwizzlingRange
  • DxgkDdiRenderGdi
  • DxgkDdiRenderKm
  • DxgkDdiSetDisplayPrivateDriverFormat
  • DxgkDdiSetPalette
  • DxgkDdiSetPointerPosition
  • DxgkDdiSetPointerShape
  • DxgkDdiSetPowerPState (驱动程序不应报告任何 P 状态电源组件)
  • DxgkDdiSetTargetAdjustedColorimetry
  • DxgkDdiSetTargetAdjustedColorimetry2
  • DxgkDdiSetTargetAnalogCopyProtection
  • DxgkDdiSetTargetContentType
  • DxgkDdiSetTargetGamma
  • DxgkDdiSetTimingsFromVidPn
  • DxgkDdiSetVideoProtectedRegion
  • DxgkDdiSetVidPnSourceAddress
  • DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay
  • DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay2
  • DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay3
  • DxgkDdiSetVidPnSourceVisibility
  • DxgkDdiStopCapture
  • DxgkDdiStopDeviceAndReleasePostDisplayOwnership
  • DxgkDdiSubmitRender
  • DxgkDdiSystemDisplayEnable
  • DxgkDdiSystemDisplayWrite
  • DxgkDdiUpdateActiveVidPnPresentPath
  • DxgkDdiUpdateMonitorLinkInfo
  • DxgkDdiUpdateOverlay

 


http://www.kler.cn/a/612137.html

相关文章:

  • Anaconda 安装NCL (Linux系统)
  • ArcGIS字段计算器的详细使用案例
  • 机器学习核心评估指标解析:AUC-ROC、RMSE、轮廓系数与PR AUC详解
  • 深度解析 | Android 12系统级禁用SIM卡功能实现与Framework层定制
  • 城电科技 | 光伏植物墙 一款会发电发光自动浇水的植物墙
  • STM32八股【2】-----ARM架构
  • OpenHarmony子系统开发 - init启动引导组件(七)
  • 在Windows docker desktop 中安装Dify
  • Android Studio编译问题
  • 单元测试mock
  • SSE SseEmitter.completeWithError(e) 触发的处理逻辑
  • Android 地区选择器或者其他选择器
  • WHAT - 程序员英语之美式发音学习系列(二)
  • springboot使用阿里限流框架-sentinel
  • C++———— Vector
  • 深入解析 Spring IOC AOP:原理、源码与实战
  • UE4学习笔记 FPS游戏制作17 让机器人持枪 销毁机器人时也销毁机器人的枪 让机器人射击
  • 模拟电子技术-基本放大电路
  • ⑦(ACG-网络配置)
  • RCE学习情况