video: tegra: host: use dma APIs in fifo_gk20a.c
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 20 Nov 2013 15:26:17 +0000 (20:26 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 2 Dec 2013 12:06:31 +0000 (04:06 -0800)
commit8c5749baea19f9effaa1a2c671e8150bfe44f114
treec1772c088a1af905a67d6d3d4654b3114702b9ed
parent6c983117b04d9bfca564ca005bd539908e335c10
video: tegra: host: use dma APIs in fifo_gk20a.c

- use dma_alloc_coherent()/dma_free_coherent() to
  allocate/free memory
- use gk20a_gmmu_map()/unmap() to update gmmu ptes

Bug 1397647

Change-Id: If2385ee3d5308b95be3fc995d2aa73721192e7ef
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/333920
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/channel_gk20a.c
drivers/video/tegra/host/gk20a/channel_gk20a.h
drivers/video/tegra/host/gk20a/fifo_gk20a.c
drivers/video/tegra/host/gk20a/fifo_gk20a.h
drivers/video/tegra/host/gk20a/mm_gk20a.c
drivers/video/tegra/host/gk20a/mm_gk20a.h