From 44e15f5747b46646c41db35bc16c1d095414832f Mon Sep 17 00:00:00 2001 From: Damian Halas Date: Thu, 7 Jun 2018 14:59:41 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1743013 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/nvhost.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 { bool poweron_reset; /* Reset the engine before powerup */ bool virtual_dev; /* True if virtualized device */ char *devfs_name; /* Name in devfs */ + char *devfs_name_family; /* Core of devfs name */ /* Support aborting the channel with close(channel_fd) */ bool support_abort_on_close; -- cgit v1.2.2