diff options
author | Abhishek Sahu <[email protected]> | 2018-03-12 18:44:57 +0530 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-03-24 13:20:09 +0100 |
commit | 08f15963bc751bc818294c0f75a9aaca299c4052 (patch) | |
tree | f3aba4bdc2c882b5716c6c5728dce79b7f9bfc3f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3f450d3eea14799b14192231840c1753a660f150 (diff) |
i2c: qup: use the complete transfer length to choose DMA mode
Currently each message length in complete transfer is being
checked for determining DMA mode and if any of the message length
is less than FIFO length then non DMA mode is being used which
will increase overhead. DMA can be used for any length and it
should be determined with complete transfer length. Now, this
patch selects DMA mode if the total length is greater than FIFO
length.
Signed-off-by: Abhishek Sahu <[email protected]>
Reviewed-by: Austin Christ <[email protected]>
Reviewed-by: Andy Gross <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions