Using the Guaranteed Contract DMA Buffer Model(MSDN翻译)

编程入门 行业动态 更新时间:2024-10-10 06:22:01

Using the Guaranteed Contract <a href=https://www.elefans.com/category/jswz/34/1769224.html style=DMA Buffer Model(MSDN翻译)"/>

Using the Guaranteed Contract DMA Buffer Model(MSDN翻译)

Using the Guaranteed Contract DMA Buffer Model

Windows Vista的显示驱动模型会保障(Guarantee)用于渲染设备的DMA Buffer和patch-location list的大小。

在受保障的contract模型中,UMD能知道DMA Buffer和patch-location list的大小,当UMD填充Command buffer并且调用pfnRenderCb提交给KMD时会使用这些信息进行command的翻译操作。在每次调用pfnRenderCb之后UMD会收到DMA Buffer和patch-location list的大小,这些信息会用于接下里的翻译操作(即之后又会调用pfnRenderCb)。

VMM保证了在下一次翻译过程完成之前DMA buffer和patch-location list 不会被 trim。KMD必须能够将一个Command buffer中的内容翻译到一个DMA buffer和一个Patch-location list中。如果该翻译不能进行,则该UMD buffer被认为无效。在进行翻译操作时KMD不能返回DMA buffer和patch-location list空间不足的状态,否则VMM会使系统BSOD,因为这样破坏了受保障Contract模型的基本需求(也就是在UMD进行提交时,肯定能够保证DMA的大小足够放下翻译之后的内容。应该这也就是Guaranteed Contract的核心)。

更多推荐

Using the Guaranteed Contract DMA Buffer Model(MSDN翻译)

本文发布于:2024-02-06 04:28:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1746214.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:DMA   Contract   Guaranteed   MSDN   Model

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!