Bugzilla – Attachment 728073 Details for
Bug 1043231
Kernel build failed at armv7hl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
0015-dmaengine-enable-DMA_CTRL_REUSE.patch
0015-dmaengine-enable-DMA_CTRL_REUSE.patch (text/plain), 2.11 KB, created by
Matwey Kornilov
on 2017-06-07 19:37:28 UTC
(
hide
)
Description:
0015-dmaengine-enable-DMA_CTRL_REUSE.patch
Filename:
MIME Type:
Creator:
Matwey Kornilov
Created:
2017-06-07 19:37:28 UTC
Size:
2.11 KB
patch
obsolete
>From 84c080d447b0ceb0043cebc21f973cf65273b730 Mon Sep 17 00:00:00 2001 >From: Robert Jarzmik <robert.jarzmik@free.fr> >Date: Tue, 13 Oct 2015 21:54:29 +0200 >Subject: [PATCH 15/19] dmaengine: enable DMA_CTRL_REUSE > >In the current state, the capability of transfer reuse can neither be >set by a slave dmaengine driver, nor used by a client driver, because >the capability is not available to dma_get_slave_caps(). > >Fix this by adding a way to declare the capability. > >Fixes: 272420214d26 ("dmaengine: Add DMA_CTRL_REUSE") >Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> >Signed-off-by: Vinod Koul <vinod.koul@intel.com> >Git-commit: 9eeacd3a2f17438d9d286ff2f78c4709a4148be7 >Patch-mainline: v4.5-rc1 >Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> >--- > drivers/dma/dmaengine.c | 1 + > include/linux/dmaengine.h | 2 ++ > 2 files changed, 3 insertions(+) > >diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c >index ec469614f80c..543a25bf5927 100644 >--- a/drivers/dma/dmaengine.c >+++ b/drivers/dma/dmaengine.c >@@ -497,6 +497,7 @@ int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps) > caps->dst_addr_widths = device->dst_addr_widths; > caps->directions = device->directions; > caps->residue_granularity = device->residue_granularity; >+ caps->descriptor_reuse = device->descriptor_reuse; > > /* > * Some devices implement only pause (e.g. to get residuum) but no >diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h >index 34bb6ee16047..bdde3deb7cd2 100644 >--- a/include/linux/dmaengine.h >+++ b/include/linux/dmaengine.h >@@ -704,6 +704,7 @@ struct dma_filter { > * struct with auxiliary transfer status information, otherwise the call > * will just return a simple status code > * @device_issue_pending: push pending transactions to hardware >+ * @descriptor_reuse: a submitted transfer can be resubmitted after completion > */ > struct dma_device { > >@@ -727,6 +728,7 @@ struct dma_device { > u32 src_addr_widths; > u32 dst_addr_widths; > u32 directions; >+ bool descriptor_reuse; > enum dma_residue_granularity residue_granularity; > > int (*device_alloc_chan_resources)(struct dma_chan *chan); >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1043231
:
728059
|
728060
|
728061
|
728062
|
728063
|
728064
|
728065
|
728066
|
728067
|
728068
|
728069
|
728070
|
728071
|
728072
| 728073 |
728074
|
728075
|
728076
|
728077
|
728521
|
728695
|
728770