summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/nvmap/nvmap.h
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2010-11-04 14:12:37 -0700
committerRebecca Schultz Zavin <rebecca@android.com>2010-11-05 12:17:21 -0700
commitc0645e1f9588b135862510da040e0c5d2fb00f5b (patch)
tree2492097e0ce21910894f784eaebfd5cd507cab82 /drivers/video/tegra/nvmap/nvmap.h
parent7fdc4142721e96a0bbedf2bad87e45fb760f6614 (diff)
video: tegra: nvmap: Add names to nvmap client
This modifies the api to allow the user to specify a name for their clients. This will allow the system to track allocations from the kernel by name. Change-Id: I44aad209bc54e72126be3bebfe416b30291d206c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/video/tegra/nvmap/nvmap.h')
-rw-r--r--drivers/video/tegra/nvmap/nvmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap.h b/drivers/video/tegra/nvmap/nvmap.h
index 1e5b800baf7a..9bb7da77a501 100644
--- a/drivers/video/tegra/nvmap/nvmap.h
+++ b/drivers/video/tegra/nvmap/nvmap.h
@@ -100,6 +100,7 @@ struct nvmap_carveout_commit {
};
struct nvmap_client {
+ const char *name;
struct nvmap_device *dev;
struct nvmap_share *share;
struct rb_root handle_refs;