ddutta
9f948ed07f
gpu: nvgpu: add accessor methods to underlying objects of nvgpu_os_fence
...
channel_sync->wait_fd depends upon nvgpu_os_fence->program_waits which
invokes a channel_sync method and this leads to a circular dependency.
In order to resolve the above, constructed struct nvgpu_os_fence_sema and
struct nvgpu_os_fence_syncpt with interfaces that support conversion
between struct nvgpu_os_fence to above. Also, added the following
interfaces for retrieving syncpts and semaphore from the above structs
respectively.
void nvgpu_os_fence_sema_extract_nth_semaphore(...)
int nvgpu_os_fence_sema_get_num_semaphores(...)
void nvgpu_os_fence_syncpt_extract_nth_syncpt(...)
int nvgpu_os_fence_syncpt_get_num_syncpoints(...)
These enable channel_sync code to directly program the cmd_bufs
based on the syncpts and semaphore received using the above APIs
instead of the current state of doing the wait programming from
within nvgpu_os_fence's interfaces.
Jira NVGPU-1093
Change-Id: Ie411f0ba60bca38f66a0024f5dfca03ef0b836eb
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/1827475
Reviewed-by: Konsta Holtta <kholtta@nvidia.com >
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2018-10-16 15:34:09 -07:00
..
2018-10-16 05:55:02 -07: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-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-08-30 21:43:01 -07:00
2018-10-12 17:35:07 +05:30
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-10-12 17:35:09 +05:30
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-27 07:30:06 -07: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-09-05 04:51:36 -07:00
2018-09-05 04:51:36 -07:00
2018-10-12 17:35:06 +05:30
2018-10-12 17:35:06 +05:30
2018-09-09 17:22:24 -07:00
2018-09-09 17:22:24 -07:00
2018-09-05 20:40:32 -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-06-15 17:47:31 -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-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-09-05 04:51:43 -07:00
2018-09-05 04:51:43 -07:00
2018-08-24 14:57:57 -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-07-05 21:48:56 -07:00
2018-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:07 +05:30
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-09-25 13:10:19 -07: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-10-12 17:35:07 +05:30
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:07 +05:30
2018-10-12 17:35:11 +05:30
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:12 +05:30
2018-07-05 21:48:44 -07:00
2018-10-12 17:35:07 +05:30
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-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:10 +05:30
2018-10-12 17:35:10 +05:30
2018-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-10-12 17:35:07 +05:30
2018-09-25 13:10:19 -07:00
2018-07-26 00:06:07 -07:00
2018-10-16 15:34:09 -07:00
2018-10-16 15:34:09 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07: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-05 04:51:36 -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-10-12 17:35:09 +05:30
2018-09-09 17:22:24 -07:00
2018-08-29 20:34:34 -07:00
2018-06-19 10:43:10 -07:00
2018-10-12 17:35:10 +05:30
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-10-12 17:35:10 +05:30
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-10-12 17:35:10 +05:30
2018-09-25 13:10:19 -07:00
2018-07-19 16:43:58 -07:00
2018-06-15 17:47:31 -07:00
2018-09-26 22:24:52 -07: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-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2018-09-25 13:10:19 -07:00
2018-06-15 17:47:31 -07:00
2018-09-06 21:42:11 -07:00
2018-06-15 17:47:31 -07:00
2018-09-26 22:24:52 -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-09-25 13:10:19 -07:00