diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2012-05-31 15:04:53 +0300 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-11 16:27:55 -0700 |
commit | b08927a712005ae3f6941e59f530b7896ac5f407 (patch) | |
tree | c6a974f266565dec2b7d619a67d2e9a61677e553 /drivers/video/tegra/host/dev.h | |
parent | 273ceab50c24ba53fcc7a90072dd02d1038d2a97 (diff) |
video: tegra: host: Abstract nvmap support
Abstract nvmap support to one file, and use it via function pointers
from other parts of nvhost.
Bug 965206
Change-Id: I4e5e7de4271e0797d117ac8210af4732b6018973
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105665
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/dev.h')
-rw-r--r-- | drivers/video/tegra/host/dev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/dev.h b/drivers/video/tegra/host/dev.h index 41c4fb59b264..332c99924b27 100644 --- a/drivers/video/tegra/host/dev.h +++ b/drivers/video/tegra/host/dev.h @@ -24,13 +24,13 @@ #include <linux/cdev.h> #include "nvhost_syncpt.h" #include "nvhost_intr.h" -#include "chip_support.h" #define TRACE_MAX_LENGTH 128U #define IFACE_NAME "nvhost" struct nvhost_hwctx; struct nvhost_channel; +struct mem_mgr; struct nvhost_master { void __iomem *aperture; @@ -40,7 +40,7 @@ struct nvhost_master { struct cdev cdev; struct device *ctrl; struct nvhost_syncpt syncpt; - struct nvmap_client *nvmap; + struct mem_mgr *memmgr; struct nvhost_intr intr; struct nvhost_device *dev; atomic_t clientid; |