[PATCH 0/2] dmaengine: xdmac: Add memset support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vinod,

I know that the memset capabilities have been removed a while back
because no-one was actually using it.

On the Atmel SAMA5D4, we would really benefit from such a feature in
the kernel. Indeed, that SoC lacks a GPU, even though having a
display, so we can actually use the DMA controller to accelerate the
framebuffer manipulations instead of the GPU or some hardware
controller like usually done, involving using memset.

The current way that it's done is through an userspace API for
dmaengine. Maybe that could be moved to the DRM driver for this SoC, I
don't know and we can argue about this, but the bottom line is that
for our use case, we do need to have memset back :)

I understand that you might not like it, especially since we're not
really introducing a new user and even the current code we have based
on this is far from upstreamable, so we won't even introduce any user
for that code short term.

Apart from that, that serie is based on the interleaved support for
that driver I sent earlier today.

Thanks,
Maxime

Maxime Ripard (2):
  dmaengine: Revert "drivers/dma: remove unused support for MEMSET
    operations"
  dmaengine: xdmac: Add memset support

 drivers/dma/at_xdmac.c    | 89 +++++++++++++++++++++++++++++++++++++++++++++++
 drivers/dma/dmaengine.c   |  7 ++++
 include/linux/dmaengine.h |  5 +++
 3 files changed, 101 insertions(+)

-- 
2.3.6

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux