[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180403153925.lg37rezuvs6hefks@ninjato>
Date: Tue, 3 Apr 2018 17:39:25 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Pierre-Yves MORDRET <pierre-yves.mordret@...com>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
linux-i2c@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 5/6] i2c: i2c-stm32f7: Add DMA support
> +#define STM32F7_I2C_DMA_LEN_MIN 0x1
...
> + if (i2c_dev->dma && f7_msg->count >= STM32F7_I2C_DMA_LEN_MIN) {
Are you using DMA for every message with a length >= 1? The setup of
that might be more expensive than the DMA gain, if so.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists