summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 80f257ac6684..bc1d9d76b9a3 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -81,6 +81,9 @@ struct nvhost_device {
struct nvhost_channel *channel; /* Channel assigned for the module */
+ /* Allocates a context handler for the device */
+ struct nvhost_hwctx_handler *(*alloc_hwctx_handler)(u32 syncpt,
+ u32 waitbase, struct nvhost_channel *ch);
/* Preparing for power off. Used for context save. */
int (*prepare_poweroff)(struct nvhost_device *dev);
/* Finalize power on. Can be used for context restore. */