* [PATCH v2 1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit
[not found] <20181205162818.45112-1-andriy.shevchenko@linux.intel.com>
@ 2018-12-05 16:28 ` Andy Shevchenko
2018-12-05 18:12 ` Vinod Koul
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2018-12-05 16:28 UTC (permalink / raw)
To: Viresh Kumar, dmaengine, Vinod Koul; +Cc: Andy Shevchenko, stable
Intel integrated DMA 32-bit support multi-block transfers.
Add missed setting to the platform data.
Fixes: f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: stable@vger.kernel.org
---
drivers/dma/dw/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
index 7778ed705a1a..313ba10c6224 100644
--- a/drivers/dma/dw/pci.c
+++ b/drivers/dma/dw/pci.c
@@ -25,6 +25,7 @@ static struct dw_dma_platform_data mrfld_pdata = {
.block_size = 131071,
.nr_masters = 1,
.data_width = {4},
+ .multi_block = {1, 1, 1, 1, 1, 1, 1, 1},
};
static int dw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid)
--
2.19.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit
2018-12-05 16:28 ` [PATCH v2 1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit Andy Shevchenko
@ 2018-12-05 18:12 ` Vinod Koul
2018-12-07 13:32 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2018-12-05 18:12 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Viresh Kumar, dmaengine, stable
On 05-12-18, 18:28, Andy Shevchenko wrote:
> Intel integrated DMA 32-bit support multi-block transfers.
> Add missed setting to the platform data.
>
> Fixes: f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: stable@vger.kernel.org
How is this a stable material? It would improve performance by using multi
blocks but given the fact that this is used for slow peripherals, do you
really see a user impact?
> ---
> drivers/dma/dw/pci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
> index 7778ed705a1a..313ba10c6224 100644
> --- a/drivers/dma/dw/pci.c
> +++ b/drivers/dma/dw/pci.c
> @@ -25,6 +25,7 @@ static struct dw_dma_platform_data mrfld_pdata = {
> .block_size = 131071,
> .nr_masters = 1,
> .data_width = {4},
> + .multi_block = {1, 1, 1, 1, 1, 1, 1, 1},
> };
>
> static int dw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid)
> --
> 2.19.2
--
~Vinod
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit
2018-12-05 18:12 ` Vinod Koul
@ 2018-12-07 13:32 ` Andy Shevchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2018-12-07 13:32 UTC (permalink / raw)
To: Vinod Koul; +Cc: Viresh Kumar, dmaengine, stable
On Wed, Dec 05, 2018 at 11:42:02PM +0530, Vinod Koul wrote:
> On 05-12-18, 18:28, Andy Shevchenko wrote:
> > Intel integrated DMA 32-bit support multi-block transfers.
> > Add missed setting to the platform data.
> >
> > Fixes: f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode")
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > Cc: stable@vger.kernel.org
>
> How is this a stable material? It would improve performance by using multi
> blocks but given the fact that this is used for slow peripherals, do you
> really see a user impact?
Last my testing was done with SPI VGA panel connected and I ran few FB based
tests with more or less good FPS numbers. So, I can't tell about notable user
impact. Feel free not to add for stable.
Btw, I have tested via DMA test, where it's indeed at least visible, but still
memory-to-memory is not what that DMA is used for.
> > ---
> > drivers/dma/dw/pci.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
> > index 7778ed705a1a..313ba10c6224 100644
> > --- a/drivers/dma/dw/pci.c
> > +++ b/drivers/dma/dw/pci.c
> > @@ -25,6 +25,7 @@ static struct dw_dma_platform_data mrfld_pdata = {
> > .block_size = 131071,
> > .nr_masters = 1,
> > .data_width = {4},
> > + .multi_block = {1, 1, 1, 1, 1, 1, 1, 1},
> > };
> >
> > static int dw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid)
> > --
> > 2.19.2
>
> --
> ~Vinod
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-07 13:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181205162818.45112-1-andriy.shevchenko@linux.intel.com>
2018-12-05 16:28 ` [PATCH v2 1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit Andy Shevchenko
2018-12-05 18:12 ` Vinod Koul
2018-12-07 13:32 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox