Repository navigation
feat(显卡驱动): 接入 VMware SVGA II 渲染与显示支持 - #36
Merged
Merged
Conversation
Remove the old SVGA II and vmwgfx backends, the private GPU device, and their build and runtime integration. Keep the shared graphics interfaces and preserve the existing UAPI identifiers.
为 VMware 来宾提供兼容 vmwgfx 用户态 ABI 的 DRM/KMS 后端。 实现 FIFO 与命令缓冲、资源驻留和同步,并接入 Legacy、GB 和 DX 渲染。 显示路径按设备能力选择扫描输出,并提供硬件光标和热插拔通知。 按设备绑定共享 DRM 接口,保留 VirtIO 后端及其调度路径。 记录 VMware 协议来源和许可,并添加宿主与来宾回归用例。
X11 的 writev 可能读取尚未驻留的文件页。磁盘被占用时, 原有检查把暂时的缺页重试误报为 EFAULT,导致请求失败。 区分暂时竞争和无效地址,在等待后继续复制,保留已读的数据。 添加回归用例覆盖延迟缺页、保留前缀和取消时的清理。
保留主分支的内核更新,并在新基线上集成 SVGA II 驱动。 确认合并结果通过图形后端与用户缓冲区的定向宿主回归。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与效果
为 VMware SVGA II 来宾提供兼容 vmwgfx 用户态 ABI 的 DRM/KMS 后端,并支持设备能力允许的 Legacy、GB 和 DX 渲染路径。
流程与实现
验证
开发分支已通过 SVGA、DRM、VirtIO 和用户缓冲区的定向宿主回归。未验证 VMware Workstation 上的 XFCE 拖影与掉帧。
兼容性与发布影响
复用现有 vmwgfx UAPI;协议来源和许可证见 NOTICE。请先合并本 PR,再合并 ReliefOS 对应 PR。