跳到主要内容
AI News HubLIVE
来源内容 · 翻译待补全2 分钟阅读

待翻译:Linus Torvalds uses AI to debug an Intel GPU driver bug

文章摘要

AI 服务暂时不可用,以下为来源摘要,待恢复后补全翻译:drm: xe: Kernel-submitted job timed out drm: xe: Kernel-submitted job timed out Linus Torvalds torvalds at linux-foundation.org Fri Aug 21 03:50:44 UTC 2026 Previous message (by thread): drm: xe: Kernel-submitted job ti…

来源Hacker News AI作者: signa11
待翻译:Linus Torvalds uses AI to debug an Intel GPU driver bug
报告错误

纠错通道尚未开通,可先复制下方文章信息留存。

查看更正说明
直接读正文

AI 服务暂时不可用,以下为来源正文,待恢复后补全翻译。

drm: xe: Kernel-submitted job timed out drm: xe: Kernel-submitted job timed out Linus Torvalds torvalds at linux-foundation.org Fri Aug 21 03:50:44 UTC 2026 Previous message (by thread): drm: xe: Kernel-submitted job timed out Next message (by thread): [PATCH v4 0/5] powervr: MT8173 GPU support Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Tue, 18 Aug 2026 at 23:55, Linus Torvalds wrote: > > It turns out that now I can generate those drm job timedout issues at will. > > [ +1.222075] xe 0000:4b:00.0: [drm] Tile0: GT0: Engine reset: Ok. I've spent all day today on chasing this down in between merge window work, since it finally *was* repeatable. And the fix ends up being basically a one-liner, even if the debug session to get there was not. The Xe driver takes the memory address used for the memory stolen for CCS, and rounds it up to the nearest 128kB area. And that is very VERY wrong, because it means that the xe driver will then *use* that part of memory that wasn't at a 128kB boundary. And the HW engine will too and write to it. And when that memory happens ot be used for GPU page tables, very bad things happen. I bet this also explains some occasional random screen corruption I've seen - when the memory isn't used for something as important as a page table, it "only" corrupts random bitmap memory and the like. I committed the fix as commit 818bebeb63dd ("drm/xe: Don't hand out the flat CCS storage as usable VRAM"). Adding some people from commit 37173392741c ("drm/xe/vram: fix ccs offset calculation") to the cc, because that's where the problem came from. Two years ago. I'm not sure why it became so repeatable for me now, but some user space behavior change clearly triggered it now pretty much every single boot. Linus Previous message (by thread): drm: xe: Kernel-submitted job timed out Next message (by thread): [PATCH v4 0/5] powervr: MT8173 GPU support Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the dri-devel mailing list

展开要点与分析

文章情报

工程师进阶

要点

  • AI 服务暂时不可用,系统已先保留来源内容与降级元数据。
  • drm: xe: Kernel-submitted job timed out drm: xe: Kernel-submitted job timed out Linus Torvalds torvalds at linux-foundation.org Fri Aug 21 03:50:44 UTC 2026 Previous message (by t…

要点与分析由自动化流程生成,可能有误,请结合原始来源核实。