Bugzilla – Attachment 728074 Details for
Bug 1043231
Kernel build failed at armv7hl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
0016-dmaengine-core-expose-max-burst-capability-to-client.patch
0016-dmaengine-core-expose-max-burst-capability-to-client.patch (text/plain), 2.76 KB, created by
Matwey Kornilov
on 2017-06-07 19:37:42 UTC
(
hide
)
Description:
0016-dmaengine-core-expose-max-burst-capability-to-client.patch
Filename:
MIME Type:
Creator:
Matwey Kornilov
Created:
2017-06-07 19:37:42 UTC
Size:
2.76 KB
patch
obsolete
>From 621f3e8f1570d54abdcd56704cab9d83777f5ee5 Mon Sep 17 00:00:00 2001 >From: Shawn Lin <shawn.lin@rock-chips.com> >Date: Fri, 22 Jan 2016 19:06:50 +0800 >Subject: [PATCH 16/19] dmaengine: core: expose max burst capability to clients > >This patch add max_burst to dma_get_slave_caps for clients >to get the burst capability of slave dma controller. > >Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> >Signed-off-by: Caesar Wang <wxt@rock-chips.com> >Signed-off-by: Vinod Koul <vinod.koul@intel.com> >Git-commit: 6d5bbed30f89acd2ae0d23b3fff5b13b307525d9 >Patch-mainline: v4.6-rc1 >Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> >--- > drivers/dma/dmaengine.c | 1 + > include/linux/dmaengine.h | 4 ++++ > 2 files changed, 5 insertions(+) > >diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c >index 543a25bf5927..37d144c95fab 100644 >--- a/drivers/dma/dmaengine.c >+++ b/drivers/dma/dmaengine.c >@@ -496,6 +496,7 @@ int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps) > caps->src_addr_widths = device->src_addr_widths; > caps->dst_addr_widths = device->dst_addr_widths; > caps->directions = device->directions; >+ caps->max_burst = device->max_burst; > caps->residue_granularity = device->residue_granularity; > caps->descriptor_reuse = device->descriptor_reuse; > >diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h >index bdde3deb7cd2..bfe6714d3e61 100644 >--- a/include/linux/dmaengine.h >+++ b/include/linux/dmaengine.h >@@ -401,6 +401,7 @@ enum dma_residue_granularity { > * since the enum dma_transfer_direction is not defined as bits for each > * type of direction, the dma controller should fill (1 << <TYPE>) and same > * should be checked by controller as well >+ * @max_burst: max burst capability per-transfer > * @cmd_pause: true, if pause and thereby resume is supported > * @cmd_terminate: true, if terminate cmd is supported > * @residue_granularity: granularity of the reported transfer residue >@@ -411,6 +412,7 @@ struct dma_slave_caps { > u32 src_addr_widths; > u32 dst_addr_widths; > u32 directions; >+ u32 max_burst; > bool cmd_pause; > bool cmd_terminate; > enum dma_residue_granularity residue_granularity; >@@ -670,6 +672,7 @@ struct dma_filter { > * the enum dma_transfer_direction is not defined as bits for > * each type of direction, the dma controller should fill (1 << > * <TYPE>) and same should be checked by controller as well >+ * @max_burst: max burst capability per-transfer > * @residue_granularity: granularity of the transfer residue reported > * by tx_status > * @device_alloc_chan_resources: allocate resources and return the >@@ -728,6 +731,7 @@ struct dma_device { > u32 src_addr_widths; > u32 dst_addr_widths; > u32 directions; >+ u32 max_burst; > bool descriptor_reuse; > enum dma_residue_granularity residue_granularity; > >-- >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