[PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

Alexandre Courbot acourbot at nvidia.com
Tue Jun 24 03:33:10 PDT 2014


On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote:
> On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote:
>> From: Lucas Stach <dev at lynxeye.de>
>>
>> On architectures for which access to GPU memory is non-coherent,
>> caches need to be flushed and invalidated explicitly at the
>> appropriate places. Introduce two small helpers to make things
>> easy for TTM-based drivers.
>
> Have you run this with DMA API debugging enabled?  I suspect you haven't,
> and I recommend that you do.

# cat /sys/kernel/debug/dma-api/error_count
162621

(╯°□°)╯︵ ┻━┻)



More information about the dri-devel mailing list