Skip to content

Pull upstream dma backport into rpi 4.6.y #1522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
dd03312
Revert "bcm2835-dma: Fix up convert to DMA pool"
msperl Apr 22, 2016
7456547
Revert "bcm2835-dma: Limit cyclic transfers on lite channels to 32k"
msperl Apr 22, 2016
148d169
Revert "dmaengine: bcm2835: Load driver early and support legacy API"
msperl Apr 22, 2016
08e56c0
Revert "dmaengine: bcm2835: Add slave dma support"
msperl Apr 22, 2016
490c887
dmaengine: bcm2835: remove unnecessary masking of dma channels
msperl Mar 16, 2016
ff186fb
dmaengine: bcm2835: add additional defines for DMA-registers
msperl Mar 16, 2016
d4bd931
dmaengine: bcm2835: move cyclic member from bcm2835_chan into bcm2835…
msperl Mar 16, 2016
f73908f
dmaengine: bcm2835: move controlblock chain generation into separate …
msperl Mar 16, 2016
5535fb2
dmaengine: bcm2835: limit max length based on channel type
msperl Mar 16, 2016
faaf541
dmaengine: bcm2835: add slave_sg support to bcm2835-dma
msperl Mar 16, 2016
65019ea
dmaengine: bcm2835: add dma_memcopy support to bcm2835-dma
msperl Mar 16, 2016
8134418
dmaengine: bcm2835: use platform_get_irq_byname
msperl Apr 11, 2016
bc60e5c
dmaengine: bcm2835: Load driver early and support legacy API
notro Oct 3, 2015
0d46bb0
ARM: bcm270x: changed bcrm,dma-channel-mask to mask out the used channel
msperl Apr 22, 2016
e10a829
ARM: bcm2835: add interrupt-names and apply correct mapping
msperl Apr 23, 2016
28072ed
ARM: bcm2835: make dma-channel-0 available for kms setups
msperl Apr 23, 2016
35128a8
dmaengine: bcm2835: Fix cyclic DMA period splitting
HiassofT Jun 7, 2016
5fc5ec2
dmaengine: bcm2835: Avoid splitting periods into very small chunks
HiassofT Jun 8, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions arch/arm/boot/dts/bcm2708_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,32 @@
<1 24>,
<1 25>,
<1 26>,
<1 27>;
/* dma channel 11-14 share one irq */
<1 27>,
<1 27>,
<1 27>,
<1 27>,
/* unused shared irq for all channels */
<1 28>;
interrupt-names = "dma0",
"dma1",
"dma2",
"dma3",
"dma4",
"dma5",
"dma6",
"dma7",
"dma8",
"dma9",
"dma10",
"dma11",
"dma12",
"dma13",
"dma14",
"dma-shared-all";

#dma-cells = <1>;
brcm,dma-channel-mask = <0x0f35>;
brcm,dma-channel-mask = <0x7f34>;
};

intc: interrupt-controller@7e00b200 {
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@
};
};

fragment@15 {
target-path = "/soc/dma";
__overlay__ {
brcm,dma-channel-mask = <0x7f35>;
};
};

__overrides__ {
cma-256 = <0>,"+0-1-2-3-4";
cma-192 = <0>,"-0+1-2-3-4";
Expand Down
Loading