Re: [PATCH v3 2/2] dmaengine: tegra210-adma: Add memcpy support

From: Jon Hunter
Date: Mon Sep 12 2016 - 10:34:26 EST



On 08/09/16 18:31, Nicolin Chen wrote:
> On Thu, Sep 08, 2016 at 03:19:57PM +0100, Jon Hunter wrote:
>
>> I tried this again on my audio testing branch for tegra210 and it worked ...
>>
>> [ 36.427210] dmatest: Started 1 threads using dma1chan0
>> [ 37.036948] dmatest: dma1chan0-copy0: summary 1024 tests, 0 failures 2410 iops 19419 KB/s (0)
>>
>> Do you have other patches in your branch? If so it would be good to
>> understand the dependency. May be we are missing a clock somewhere?
>
> Sorry. I forgot to mention that the TEGRA210_CLK_APE_SLCG_OVR
> clock is required for the tests. So I cherry-picked 2 patches
> from your audio branch to the linux-next:
> clk: tegra210: Add SLCG override gate clocks
> ARM64: tegra: DT: Add SLCG clock for AUD
>
> Besides these two, there'e merely some straightforward changes
> to enable the ADMA in the defconfig and DT.
>
> And it seems that you've submitted that patch once but it got
> hold because it wasn't so useful at that time?

Yes it was not being used at the time. It is on my list of things to do
and we need to revisit it. There was some discussion on the best way to
handle these clocks from a client perspective. I am not sure we came to
a conclusion on this. I need to find some time to look at this.

Jon

--
nvpublic