[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <570B587A.5090509@nvidia.com>
Date: Mon, 11 Apr 2016 16:55:38 +0900
From: Alexandre Courbot <acourbot@...dia.com>
To: Robin Murphy <robin.murphy@....com>,
<dri-devel@...ts.freedesktop.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <bskeggs@...hat.com>
Subject: Re: Nouveau crashes in 4.6-rc on arm64
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?
Powered by blists - more mailing lists