diff options
author | Ken Adams <kadams@nvidia.com> | 2013-09-17 12:55:54 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-27 12:53:49 -0700 |
commit | d55049b57a338403afe3a0e8d93ee83a9d63007d (patch) | |
tree | dd82aefcd9924e43d63c25d80e23a832d84b80de /include/linux/nvhost.h | |
parent | 409be5d3c52b2a6cd6a843d91f8fbf63f4d3b42b (diff) |
video: tegra: host: module debugger framework
Framework and implementation of a gk20a
debugger/profiler session interface.
Adds work toward optimized handling of
context patch write sequences. These introduce
cpu map/unmap operations and gpu l2 invaliates.
Unless we take care to coalesce them they occur
*per write*.
Change-Id: I8afc11a6f6782b80996404acbd01bffe9653ebdd
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/274416
Diffstat (limited to 'include/linux/nvhost.h')
-rw-r--r-- | include/linux/nvhost.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 60136ba8ae45..896027702314 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -190,7 +190,10 @@ struct nvhost_device_data { struct cdev ctrl_cdev; const struct file_operations *ctrl_ops; /* ctrl ops for the module */ - /* void *priv;*/ + /* module debugger */ + struct device *dbg_node; + struct cdev dbg_cdev; + const struct file_operations *dbg_ops; struct kobject *power_kobj; /* kobject to hold power sysfs entries */ struct nvhost_device_power_attr *power_attrib; /* sysfs attributes */ |