summaryrefslogtreecommitdiff
path: root/include/linux/nvhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvhost.h')
-rw-r--r--include/linux/nvhost.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index cde63fa6abb7..d7d8ad04653d 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -172,6 +172,10 @@ struct nvhost_driver {
/* Allocates a context handler for the device */
struct nvhost_hwctx_handler *(*alloc_hwctx_handler)(u32 syncpt,
u32 waitbase, struct nvhost_channel *ch);
+
+ /* Clock gating callbacks */
+ int (*prepare_clockoff)(struct nvhost_device *dev);
+ void (*finalize_clockon)(struct nvhost_device *dev);
};
extern int nvhost_driver_register(struct nvhost_driver *);
@@ -209,4 +213,6 @@ u32 nvhost_syncpt_read_ext(struct nvhost_device *dev, u32 id);
int nvhost_syncpt_wait_timeout_ext(struct nvhost_device *dev, u32 id, u32 thresh,
u32 timeout, u32 *value);
+void nvhost_scale3d_set_throughput_hint(int hint);
+
#endif