Maarten Maathuis
2009-Dec-19 00:07 UTC
[Nouveau] we don't synchronize in our buffer object move driver hook
ttm_bo_validate() calls ttm_bo_move_buffer() which calls ttm_bo_handle_move_mem() which calls bdev->driver->move() which calls nouveau_bo_move_m2mf(), which doesn't ensure synchronization (nowait == false) if the bo is moved on another channel (which is common for nv50). I suspect this to be the source of some corruption problems. Maarten.
Reasonably Related Threads
- [PATCH] drm/nouveau: fix locking in nouveau_crtc_page_flip
- nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152
- nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152
- [Bug 111843] New: Resume fails after suspend with nouveau and Gtx 1050 ti
- swiotlb buffer is full