summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDamian Halas <dhalas@nvidia.com>2018-06-07 17:59:41 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-06-15 20:47:15 -0400
commit44e15f5747b46646c41db35bc16c1d095414832f (patch)
treed11ad494e1243e8132845d1a0bf0c7e63f09be8a /include
parent523c08f8f1f66f25ea2d33312635f313f0fce3b8 (diff)
video: tegra: host: enumerate pva and dla from 0
Even if pva0 or dla0 is disabled in the device tree the dev nodes for pva1 and dla1 should be enumerated from 0. To achieve this the patch introduces families of engines and dynamically creates proper devfs_name for them. JIRA VFND-4904 Change-Id: I3c69381f212024cf9d6cb5af8c104f3ca5392863 Signed-off-by: Damian Halas <dhalas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1743013 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index 9421f36f2..d68a48a5d 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -185,6 +185,7 @@ struct nvhost_device_data {
185 bool poweron_reset; /* Reset the engine before powerup */ 185 bool poweron_reset; /* Reset the engine before powerup */
186 bool virtual_dev; /* True if virtualized device */ 186 bool virtual_dev; /* True if virtualized device */
187 char *devfs_name; /* Name in devfs */ 187 char *devfs_name; /* Name in devfs */
188 char *devfs_name_family; /* Core of devfs name */
188 189
189 /* Support aborting the channel with close(channel_fd) */ 190 /* Support aborting the channel with close(channel_fd) */
190 bool support_abort_on_close; 191 bool support_abort_on_close;