Tejal Kudav
b83c5e4594
gpu: nvgpu: Remove external APIs in nvlink common
...
The Tegra SOC nvlink driver and dGPU nvlink driver depend on
struct definitions, macros and functions exposed by nvlink-core
driver. The nvlink-core driver is not part of the nvgpu driver,
hence we should not be directly accessing any core driver
APIs/macros/structs from the /common/nvlink code. Common code can
only use nvgpu internal APIs. We wrap all calls from common/nvlink.c
to other drivers in nvgpu wrappers, and define the implementation of
wrappers in os/linux and os/nvgpu_rmos, and stub them in os/posix.
Also, we remove the implicit inclusion of OS specific nvlink header
file via common nvgpu/nvlink.h. So the OS specific code needs to
explicitly add OS specific header file.
JIRA NVGPU-966
Change-Id: I65c67e247ee74088bb1253f6ae4c8d0c49420a98
Signed-off-by: Tejal Kudav <tkudav@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/1990071
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com >
GVS: Gerrit_Virtual_Submit
Reviewed-by: Antony Clince Alex <aalex@nvidia.com >
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-01-18 02:13:43 -08:00
..
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-12-28 16:16:05 -08:00
2018-06-15 17:47:31 -07:00
2018-10-29 08:04:43 -07:00
2018-10-12 17:35:07 +05:30
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-12-11 16:24:27 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-12-19 14:55:15 -08:00
2018-06-27 07:30:06 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:11 +05:30
2018-06-15 17:47:31 -07:00
2018-09-20 10:50:25 -07:00
2018-09-05 04:51:40 -07:00
2019-01-10 20:09:55 -08:00
2018-09-05 04:51:36 -07:00
2019-01-10 20:09:55 -08:00
2018-10-19 08:39:43 -07:00
2018-12-11 14:41:04 -08:00
2018-10-19 08:39:43 -07:00
2019-01-09 10:46:29 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-07-24 16:10:58 -07:00
2019-01-10 20:09:38 -08:00
2018-09-05 04:51:50 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-05 04:51:43 -07:00
2018-10-19 08:39:43 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-11-08 21:42:38 -08:00
2018-12-30 22:26:01 -08:00
2018-07-05 21:48:56 -07:00
2018-11-05 22:13:16 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-11-14 21:44:35 -08:00
2018-06-15 17:47:31 -07:00
2019-01-10 22:54:46 -08:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-12-30 22:26:01 -08:00
2018-06-15 17:47:31 -07:00
2019-01-09 10:46:29 -08:00
2018-10-12 17:35:11 +05:30
2019-01-10 20:09:34 -08:00
2019-01-10 20:09:38 -08:00
2018-10-29 08:04:25 -07:00
2019-01-17 11:34:10 -08:00
2018-07-05 21:48:44 -07:00
2018-12-30 22:26:01 -08:00
2018-06-15 17:47:31 -07:00
2018-10-29 08:04:25 -07:00
2018-06-15 17:47:31 -07:00
2018-11-07 10:35:13 -08:00
2018-10-31 15:25:23 -07:00
2018-11-06 21:56:26 -08:00
2018-12-13 16:36:13 -08:00
2018-11-08 21:42:14 -08:00
2018-12-14 18:23:52 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-11-25 23:54:10 -08:00
2018-11-29 03:15:17 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2019-01-04 04:56:33 -08:00
2019-01-18 02:13:43 -08:00
2018-07-26 00:06:07 -07:00
2018-10-16 15:34:13 -07:00
2018-10-16 15:34:13 -07:00
2018-09-25 13:10:19 -07:00
2019-01-10 22:54:46 -08:00
2018-09-05 04:51:40 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-09-09 17:22:24 -07:00
2018-10-12 17:35:06 +05:30
2018-09-05 04:51:36 -07:00
2018-10-12 17:35:09 +05:30
2018-11-08 19:35:09 -08:00
2018-12-13 04:56:14 -08:00
2018-08-29 20:34:34 -07:00
2018-06-19 10:43:10 -07:00
2018-12-30 23:36:00 -08:00
2018-10-12 17:35:10 +05:30
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2019-01-17 13:13:51 -08:00
2018-06-15 17:47:31 -07:00
2019-01-08 13:05:01 -08:00
2018-11-16 13:13:44 -08:00
2018-07-19 16:43:58 -07:00
2018-06-15 17:47:31 -07:00
2018-11-16 13:13:44 -08:00
2018-06-15 17:47:31 -07:00
2018-12-11 18:22:54 -08:00
2018-06-15 17:47:31 -07:00
2019-01-09 10:46:29 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2018-10-24 23:16:20 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2018-06-15 17:47:31 -07:00
2018-12-10 14:15:14 -08:00
2018-10-31 15:25:23 -07:00
2018-12-28 16:16:05 -08:00