dmaengine: hdmac: Add memset capabilities
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 24 Aug 2015 09:21:15 +0000 (11:21 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 26 Aug 2015 02:20:21 +0000 (07:50 +0530)
commit4d112426c3446d94b9bc56396075524b06913b1c
treea33a099e243ee40e9b3fe7168294b5b56770d8b1
parent8a4ce226b9061fe3ab04f6db34d4b2ae645b9f65
dmaengine: hdmac: Add memset capabilities

Just like for the XDMAC, the SoCs that embed the HDMAC don't have any kind
of GPU, and need to accelerate a few framebuffer-related operations through
their DMA controller.

However, unlike the XDMAC, the HDMAC doesn't have the memset capability
built-in. That can be easily emulated though, by doing a transfer with a
fixed address on the variable that holds the value we want to set.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h