在 X 视频驱动程序中,PROBE_TRYHARD 标志在调用驱动程序 Probe 函数时有何用途?
在编写 X 视频驱动程序时,我最近查看了 xf86str.h(一个标准 Xorg 头文件)的 PROBE_ 类型,并注意到还有第三种我从未听说过的类型,即 PROBE_TRYHARD。在什么情况下(如果有的话),X 服务器会将该标志放入对驱动程序 Probe 函数的调用中,以及 Probe 函数预计会做什么响应?
While writing an X video driver, I was recently looking at xf86str.h, a standard Xorg header file, for the PROBE_ types, and noticed there was a third I had never heard of, namely PROBE_TRYHARD. Under what circumstances, if any, would an X server put that flag in a call to a driver's Probe function, and what would the Probe function be expected to do in response?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它似乎完全未使用,无论是在 X 服务器还是在所有 xf86-video DDX(驱动程序)中。
根据一位 X 开发人员的说法,它“可能是为了应对过去的糟糕日子,那时你必须破坏 ISA 端口并猜测”
It seems to be totally unused, both in the X server and in all xf86-video DDXs (drivers).
According to an X developer, it "was probably meant for the bad old days when you had to smash ISA ports and guess"