Deepak Nibade
ef580aee38
gpu: nvgpu: add new unit for GR global context buffers
...
Add new unit common/gr/global_ctx.c to manage GR global context buffers
This unit provides interfaces to allocate/free/map/unmap all the global
context buffers. It also provides APIs to get/set size of the buffers,
and to get memory handle of the buffers
Use interfaces exposed by this unit instead of directly accessing global
context buffers in common code
Add new header file include/nvgpu/gr/global_ctx.h to declare all the
interfaces.
Rename "struct gr_ctx_buffer_desc" to "struct nvgpu_gr_global_ctx_buffer_desc"
which holds all data for each global context
Remove void *priv since it is no longer used
Add size to the desc structure to store the requested size
Remove global_ctx_buffer_size from struct nvgpu_gr_ctx since it is no longer
used for any real purpose
Jira NVGPU-1625
Change-Id: I3feaf47bc2fdf192f36b136f2ef80a49d1782c5d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/1977884
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-01-02 10:55:45 -08:00
..
2018-12-11 16:24:10 -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
2018-11-14 13:33:38 -08:00
2018-09-05 04:51:36 -07:00
2018-11-14 13:33:38 -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
2018-10-30 05:54:10 -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-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
2018-09-05 04:51:50 -07: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
2018-10-29 08:04:16 -07: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
2018-09-25 13:10:19 -07: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
2018-12-30 22:26:01 -08:00
2018-10-12 17:35:11 +05:30
2018-11-30 11:54:17 -08:00
2018-12-30 22:26:01 -08:00
2018-10-29 08:04:25 -07:00
2018-12-30 22:26:01 -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
2018-12-18 12:13:42 -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
2018-12-28 02:34:01 -08:00
2018-12-21 05:35:45 -08:00
2018-11-24 00:33:47 -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
2018-12-17 11:23:56 -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
2018-12-31 03:31:58 -08:00
2018-06-15 17:47:31 -07:00
2019-01-02 10:55:45 -08:00
2018-06-15 17:47:31 -07:00
2018-12-30 23:36:00 -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
2018-12-30 22:26:01 -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-10-24 23:16:20 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2018-11-14 21:44:35 -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