Konsta Hölttä
6cb6a970af
gpu: nvgpu: don't update ch syncpt for user sync
...
g->ops.channel.set_syncpt() updates the inst block's allowed syncpt
field for the syncpoint that's allocated for kernelmode submits (if
any). This is different from the userspace-owned syncpoint that is used
with usermode submits, so don't call set_syncpt when creating the user
syncpt.
If the kernel sync object wouldn't exist, the call would even fail. The
allowed syncpt is written during nvgpu_channel_setup_bind() (if usermode
submit isn't requested), after the kernel syncpt is allocated.
Originally, just one syncpoint used to be shared for the kernel and
userspace; now that they're separate, this different path to update the
allowed syncpt would need other modifications to work with the user sync
if one would be used on platforms that care about the allowed syncpt.
Jira NVGPU-4548
Change-Id: If800e704ef8a3289e04c8d75a623affd6779e309
Signed-off-by: Konsta Hölttä <kholtta@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2320357
Reviewed-by: automaticguardword <automaticguardword@nvidia.com >
Reviewed-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2020-12-15 14:13:28 -06:00
..
2020-12-15 14:10:29 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:13:28 -06:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2019-01-31 12:04:10 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:05:52 -06: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
2020-12-15 14:10:29 -06:00
2019-04-19 13:55:11 -07:00
2020-12-15 14:13:28 -06:00
2018-09-05 04:51:40 -07:00
2020-12-15 14:13:28 -06:00
2019-07-26 04:07:01 -07:00
2020-12-15 14:05:52 -06:00
2019-06-11 09:46:24 -07:00
2019-05-17 01:49:27 -07:00
2018-06-15 17:47:31 -07:00
2019-04-22 03:15:09 -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
2020-12-15 14:05:52 -06: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
2020-12-15 14:05:52 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2019-02-11 20:55:07 -08:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2019-06-13 23:05:43 -07:00
2020-12-15 14:13:28 -06: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
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:05:52 -06:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:10:29 -06:00
2019-02-20 23:05:04 -08:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2019-04-16 13:04:27 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:05:52 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2018-10-29 08:04:25 -07:00
2020-12-15 14:13:28 -06:00
2018-07-05 21:48:44 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2019-06-11 09:46:24 -07:00
2018-06-15 17:47:31 -07:00
2018-11-07 10:35:13 -08:00
2019-05-03 13:08:00 -07:00
2020-12-15 14:13:28 -06:00
2019-08-01 21:57:18 -07:00
2019-07-23 13:27:29 -07:00
2020-12-15 14:05:52 -06:00
2019-04-16 13:04:27 -07:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:05:52 -06:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2019-06-11 09:46:24 -07:00
2018-07-26 00:06:07 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2020-12-15 14:13:28 -06:00
2019-04-22 05:25:48 -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
2019-07-26 04:07:01 -07:00
2018-09-05 04:51:36 -07:00
2019-07-26 04:07:01 -07:00
2018-11-08 19:35:09 -08:00
2020-12-15 14:13:28 -06:00
2018-08-29 20:34:34 -07:00
2019-05-15 22:29:40 -07:00
2019-08-27 10:37:21 -07:00
2018-10-12 17:35:10 +05:30
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2019-08-21 23:38:56 -07:00
2018-09-25 13:10:19 -07:00
2020-12-15 14:13:28 -06:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2020-12-15 14:13:28 -06:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:10:29 -06:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2019-08-28 14:24:19 -07:00