]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
dma: xilinx: Bug fix to ensure GPIO is reset between DMA operations
authorJeffrey Mouroux <jeff.mouroux@xilinx.com>
Tue, 29 Aug 2017 01:12:45 +0000 (18:12 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Sep 2017 12:21:46 +0000 (14:21 +0200)
commit7858ca56b121174915728a675320ac507782b2e3
treea356fe0fb9ddfc598d19d300e480b9cd9f406d11
parent6f6aa295259f402925b96a4388542d4c88517368
dma: xilinx: Bug fix to ensure GPIO is reset between DMA operations

Some registers within the Video Framebuffer driver, such as the
video format register, require a reset of the IP before they can
be altered.  Because there is no software accessible reset register,
an external GPIO is used.  This patch fixes a runtime issue wherein
clients wish to reprogram the IP for a new memory between DMA operations.
Without this fix, the Video Framebuffer Write IP may halt when a client
requests a new DMA operation using a different memory format for
writes to host memory.  In some cases, Framebuffer Read operations
will need to be reset when the downstream video pipeline is being
reset.

Signed-off-by: Jeffrey Mouroux <jmouroux@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/dma/xilinx/xilinx_frmbuf.c