summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/gr3d/scale3d.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2011-12-29 16:03:51 +0200
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-12 09:56:22 -0800
commit10c8828c7b2bf26ab6ec9feee860fc5cc8eb2ce7 (patch)
tree6e1c0b97ddd63f64eee95c313f46fb49940edc25 /drivers/video/tegra/host/gr3d/scale3d.h
parent6bc2684e40093d8859b90d96c0d9957e1472c5c9 (diff)
video: tegra: host: Move device data to nvhost_device
Move all device data from nvhost_channeldesc, nvhost_moduledesc and nvhost_module to nvhost_device. nvhost_devices are also assigned into a hierarchy to prepare for implementation of runtime power management. Change-Id: I1e18daae8fe538086cd1f453d316e0f73e9d7d92 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/72844 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Reviewed-on: http://git-master/r/74560 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/gr3d/scale3d.h')
-rw-r--r--drivers/video/tegra/host/gr3d/scale3d.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/tegra/host/gr3d/scale3d.h b/drivers/video/tegra/host/gr3d/scale3d.h
index e6d1a40f53e0..4e448154ec8d 100644
--- a/drivers/video/tegra/host/gr3d/scale3d.h
+++ b/drivers/video/tegra/host/gr3d/scale3d.h
@@ -23,16 +23,16 @@
#ifndef NVHOST_T30_SCALE3D_H
#define NVHOST_T30_SCALE3D_H
-struct nvhost_module;
+struct nvhost_device;
struct device;
struct dentry;
/* Initialization and de-initialization for module */
-void nvhost_scale3d_init(struct device *, struct nvhost_module *);
-void nvhost_scale3d_deinit(struct device *, struct nvhost_module *);
+void nvhost_scale3d_init(struct nvhost_device *);
+void nvhost_scale3d_deinit(struct nvhost_device *);
/* Suspend is called when powering down module */
-void nvhost_scale3d_suspend(struct nvhost_module *);
+void nvhost_scale3d_suspend(struct nvhost_device *);
/* reset 3d module load counters, called on resume */
void nvhost_scale3d_reset(void);
@@ -41,8 +41,8 @@ void nvhost_scale3d_reset(void);
* call when performing submit to notify scaling mechanism that 3d module is
* in use
*/
-void nvhost_scale3d_notify_busy(struct nvhost_module *);
-void nvhost_scale3d_notify_idle(struct nvhost_module *);
+void nvhost_scale3d_notify_busy(struct nvhost_device *);
+void nvhost_scale3d_notify_idle(struct nvhost_device *);
void nvhost_scale3d_debug_init(struct dentry *de);