diff options
author | Ken Adams <kadams@nvidia.com> | 2011-06-18 10:14:42 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:24 -0800 |
commit | 74460b7effdcd931f287da336e664f5819ee12c5 (patch) | |
tree | c08687063d197438eaa40725bb864866078eae66 /drivers/video/tegra/host/nvhost_hwctx.h | |
parent | dc83973f99b5567af802f70f40bcf602952f43ca (diff) |
video: tegra: refactor for multiple chip support
Original-Change-Id: Ia203886a3b013612b4159393ff43a25a313d1ece
Reviewed-on: http://git-master/r/35911
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R01b763362c13e09111f60700c3d3a7d2a9a3fc1c
Diffstat (limited to 'drivers/video/tegra/host/nvhost_hwctx.h')
-rw-r--r-- | drivers/video/tegra/host/nvhost_hwctx.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/video/tegra/host/nvhost_hwctx.h b/drivers/video/tegra/host/nvhost_hwctx.h index 67c3c7f8d0ce..83d93bd871eb 100644 --- a/drivers/video/tegra/host/nvhost_hwctx.h +++ b/drivers/video/tegra/host/nvhost_hwctx.h @@ -57,20 +57,6 @@ struct nvhost_hwctx_handler { void (*save_service) (struct nvhost_hwctx *ctx); }; -int nvhost_3dctx_handler_init(struct nvhost_hwctx_handler *h); -int nvhost_mpectx_handler_init(struct nvhost_hwctx_handler *h); - -static inline int nvhost_hwctx_handler_init( - struct nvhost_hwctx_handler *h, - const char *module) -{ - if (strcmp(module, "gr3d") == 0) - return nvhost_3dctx_handler_init(h); - else if (strcmp(module, "mpe") == 0) - return nvhost_mpectx_handler_init(h); - - return 0; -} struct hwctx_reginfo { unsigned int offset:12; |