[Bug 101691] gfx corruption on windowed 3d-apps running on dGPU

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 17 20:52:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101691

--- Comment #51 from Daniel Vetter <daniel at ffwll.ch> ---
btw the SNOOPED diff is from me. I think what amdgpu should do is set that for
any dma-buf shared (i.e. dma_buf_attach has been called) or imported buffer. We
can't set it for all exported buffers because dma-buf fd sharing withint the
same device instance.

But I didn't figure out how to wire that through ttm, the caching_mode seems to
be on the tt, not the bo itself.

Longer-term we might need/want to add a dma_buf_get/set_coherency_mode()
function so that we don't have to opt for the most defensive thing available.
The set_coherency_mode is required because apparently on kbl the "uncached"
mode can pull cachelines into the cache and then reuse them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171017/85a5209f/attachment.html>


More information about the intel-gfx-bugs mailing list