Re: Nouveau crashes in 4.6-rc on arm64

From: Alexandre Courbot
Date: Mon Apr 11 2016 - 03:55:49 EST


On 04/11/2016 04:22 PM, Alexandre Courbot wrote:
... or maybe we could just unconditionally sync all buffers and let the
DMA API abstract this away. My concern is that on coherent architectures
we would still need to loop over all the pages for nothing, as I don't
think the loop (see e.g. nouveau_bo_sync_for_cpu in nouveau_bo.c) can be
optimized away by the compiler.

Looking at the code it actually turns out we are already calling the sync functions on coherent buses anyway, so maybe we have little reasons to keep this at all?