Deepak Nibade
00aeab6cca
gpu: nvgpu: add gpc_mask to gr/config unit
...
We get gpc_mask by calling GR HAL g->ops.gr.get_gpc_mask()
But gpc_mask should be logically owned by gr/config unit
Hence add new gpc_mask field to nvgpu_gr_config
Initialize it in nvgpu_gr_config_init() by calling a new HAL
g->ops.gr.config.get_gpc_mask() if available
If HAL is not defined we just initialize it based on gpc_count
Expose new API nvgpu_gr_config_get_gpc_mask() to get gpc_mask
and use this API now
Remove gr_gm20b_get_gpc_mask() and HAL g->ops.gr.get_gpc_mask()
Update GV100 and TU104 chip HALs to remove old and add new HAL
Add gpc_mask to struct tegra_vgpu_constants_params to support this
on vGPU. Also get gpc_mask from vGPU private data in
vgpu_gr_init_gr_config()
Jira NVGPU-1879
Change-Id: Ibdc89ea51df944dc7085920509e3536a5721efc0
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/2016084
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-02-14 02:28:58 -08:00
..
2019-01-24 10:43:17 -08:00
2019-01-29 21:55:37 -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
2019-02-12 17:06:46 -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
2019-01-31 12:04:10 -08: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-02-12 20:28:56 -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
2019-02-11 03:27:26 -08:00
2018-06-15 17:47:31 -07:00
2019-02-11 20:55:07 -08:00
2019-02-11 20:55:07 -08: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
2019-02-01 09:45:57 -08:00
2019-02-01 09:45:57 -08: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-21 23:04:28 -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
2019-01-25 02:45:11 -08:00
2018-06-15 17:47:31 -07:00
2019-02-12 17:05:34 -08:00
2019-01-24 13:24:04 -08:00
2019-01-10 20:09:34 -08:00
2019-02-14 02:28:58 -08:00
2018-10-29 08:04:25 -07:00
2019-02-11 10:25:34 -08:00
2018-07-05 21:48:44 -07:00
2019-02-08 12:55:53 -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
2019-02-01 11:59:04 -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-02-11 20:55:07 -08:00
2018-11-25 23:54:10 -08:00
2019-01-30 16:44:06 -08:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2019-02-13 01:45:43 -08:00
2019-01-29 21:54:52 -08:00
2019-02-07 16:54:30 -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-02-11 20:55:07 -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
2019-02-11 20:55:07 -08:00
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-28 00:05:46 -08:00
2018-06-15 17:47:31 -07:00
2019-01-28 20:27:57 -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-02-08 12:55:53 -08:00
2018-06-15 17:47:31 -07:00
2019-01-25 01:35:29 -08:00
2018-10-31 15:25:23 -07:00
2019-02-06 21:13:43 -08:00