]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: gk20a: Use dmabuf directly
authorArto Merilainen <amerilainen@nvidia.com>
Mon, 17 Feb 2014 10:25:59 +0000 (12:25 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 27 Feb 2014 06:36:25 +0000 (22:36 -0800)
commita900d00723a178c836ca7191c32bfb27adf3bc15
tree2f6bbbc1729af7becc9c96cd73a374a8db9b64b3
parent790ecac8a0e16a11f065b86610bae47a33bceffa
video: tegra: host: gk20a: Use dmabuf directly

Currently, gk20a memory management operations go through
nvhost_memmgr abstraction. This patch modifies gk20a driver
to use dmabuf API directly. At the same time this patch removes
unnecessary calls to take a reference on the memory manager itself.

In addition, this patch reworks the memmgr allocation not to take
memmgr as a parameter.

Bug 1450489

Change-Id: If46b7442f2d03c41b90a0e81f697f4ceb63c3dae
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/368447
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
13 files changed:
drivers/video/tegra/host/dmabuf.c
drivers/video/tegra/host/dmabuf.h
drivers/video/tegra/host/gk20a/as_gk20a.c
drivers/video/tegra/host/gk20a/channel_gk20a.c
drivers/video/tegra/host/gk20a/channel_gk20a.h
drivers/video/tegra/host/gk20a/gr_gk20a.c
drivers/video/tegra/host/gk20a/mm_gk20a.c
drivers/video/tegra/host/gk20a/mm_gk20a.h
drivers/video/tegra/host/nvhost_hwctx.h
drivers/video/tegra/host/nvhost_memmgr.c
drivers/video/tegra/host/nvhost_memmgr.h
drivers/video/tegra/host/nvmap.c
drivers/video/tegra/host/nvmap.h