MLK-14314-14 dma: pxp-v3: derive the shortest path table for 2D nodes
authorFancy Fang <chen.fang@nxp.com>
Fri, 3 Mar 2017 03:06:59 +0000 (11:06 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:10 +0000 (15:22 -0500)
commitc08b2a38b482c34667c6651a2924b18e5a14429c
tree0c4fe52f44454be16a991b089be70184ce420890
parent44a5d47efed5d3e437a5dbb67d70c9e05fe93646
MLK-14314-14 dma: pxp-v3: derive the shortest path table for 2D nodes

Based on the previously caculated adjacent list and mux
config info, the shortest path table can be derived by
distance calculation between two different 2D nodes.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit c8adf0f7089d5c5e286d7ae74c138a84bed5e280)
drivers/dma/pxp/pxp_dma_v3.c