Sagar Kamble
f246facd01
gpu: nvgpu: fix syncpt increment logic in host1x syncpt_set_minval
...
On host copy engine PBDMA interrupt, channel is aborted as part of the
recovery and its syncpt value is set to the max threshold.
Syncpoint may then get incremented by PBDMA (incr cmd gets processed)
after this interrupt is handled leading to syncpoint value becoming
greater than the max threshold.
Again while unbinding the channel, syncpoint value is incremented until
it reaches max threshold. Since syncpoint value is already greater than
max threshold, host1x version of nvgpu_nvhost_syncpt_set_minval will
loop for entire u32 range until it reaches max threshold and this
will hang the channel unbind.
nvgpu_nvhost_syncpt_set_minval can ensure the syncpoint value is greater
than or equal to max threshold. Hence update the check for syncpoint
value from not equal to less than.
Bug 3681100
Change-Id: I96e7a1f53d4037e9ed858a2e90dd5a8d17ed6bb0
Signed-off-by: Sagar Kamble <skamble@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2742604
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com >
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com >
GVS: Gerrit_Virtual_Submit
2022-07-12 16:54:00 -07:00
..
2022-07-06 04:37:50 -07:00
2022-02-17 04:58:32 -08: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
2022-04-29 06:11:31 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:48 -06:00
2021-11-25 08:16:31 -08:00
2021-11-25 08:16:31 -08:00
2021-11-25 08:16:31 -08:00
2018-06-15 17:47:31 -07:00
2022-05-07 15:18:56 -07:00
2019-01-31 12:04:10 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08: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:13:28 -06:00
2019-06-11 09:46:24 -07:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2021-12-10 13:25:05 -08:00
2021-09-10 16:02:43 -07:00
2022-02-11 18:27:39 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2019-01-10 20:09:38 -08:00
2018-09-05 04:51:50 -07:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2020-12-15 14:13:28 -06:00
2019-02-11 20:55:07 -08:00
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2021-08-28 06:56:24 -07: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
2022-02-09 20:50:21 -08:00
2022-02-09 20:50:21 -08:00
2021-09-10 16:02:43 -07:00
2022-04-14 17:03:14 -07:00
2022-04-12 16:34:10 -07:00
2022-05-03 20:33:58 -07:00
2020-12-15 14:13:28 -06:00
2022-06-14 00:37:47 -07:00
2021-11-18 03:57:18 -08:00
2018-06-15 17:47:31 -07:00
2021-08-11 01:55:08 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2019-02-20 23:05:04 -08:00
2022-04-07 12:35:22 -07:00
2021-05-10 02:53:39 -07:00
2021-04-19 19:45:24 -07:00
2022-04-28 04:08:45 -07:00
2018-06-15 17:47:31 -07:00
2022-05-03 20:33:58 -07:00
2020-12-15 14:13:28 -06:00
2022-05-03 20:33:58 -07:00
2022-05-03 20:33:58 -07:00
2018-10-29 08:04:25 -07:00
2022-05-07 23:24:44 -07:00
2020-12-15 14:13:28 -06:00
2022-04-14 10:23:36 -07:00
2022-03-01 00:08:49 -08:00
2022-04-25 09:02:29 -07:00
2021-06-27 05:02:58 -07:00
2022-05-03 20:33:58 -07:00
2020-12-15 14:13:48 -06:00
2022-03-01 00:08:43 -08:00
2022-03-01 00:08:43 -08:00
2021-05-10 10:08:13 -07:00
2022-02-11 18:27:39 -08:00
2022-04-12 16:34:10 -07:00
2022-05-07 15:18:45 -07:00
2021-11-12 07:31:15 -08:00
2022-03-28 07:36:10 -07:00
2021-04-19 19:45:24 -07:00
2018-06-15 17:47:31 -07:00
2022-07-06 04:37:50 -07:00
2021-08-23 05:27:50 -07:00
2022-02-01 09:50:45 -08:00
2020-12-15 14:13:28 -06:00
2021-06-28 18:09:14 -07:00
2022-07-12 16:54:00 -07:00
2020-12-15 14:13:48 -06:00
2021-10-11 12:29:09 -07:00
2022-04-14 10:23:36 -07:00
2022-04-14 10:23:36 -07:00
2018-07-26 00:06:07 -07:00
2022-04-07 12:35:22 -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:48 -06:00
2022-07-06 04:37:50 -07: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
2020-12-15 14:13:28 -06:00
2018-10-12 17:35:10 +05:30
2021-09-16 21:45:43 -07:00
2020-12-15 14:13:28 -06:00
2022-05-02 23:16:44 -07:00
2022-07-05 14:37:23 -07:00
2022-01-05 20:57:40 -08:00
2018-06-15 17:47:31 -07:00
2022-07-05 14:37:23 -07:00
2022-07-05 14:37:23 -07:00
2022-05-06 05:21:55 -07:00
2022-07-05 14:37:23 -07:00
2021-10-07 17:53:30 -07:00
2021-04-21 10:15:20 -07:00
2018-06-15 17:47:31 -07:00
2022-06-23 21:38:45 -07:00
2018-06-15 17:47:31 -07:00
2021-05-25 14:30:30 -07:00
2020-12-15 14:13:28 -06:00
2021-04-28 19:15:31 -07:00
2021-04-28 19:15:31 -07:00
2022-02-27 18:10:41 -08:00
2021-11-19 08:08:11 -08:00
2020-12-15 14:13:28 -06:00
2019-05-06 02:56:53 -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
2022-04-29 06:17:59 -07:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:10:29 -06:00
2022-03-25 21:33:21 -07:00
2022-03-28 07:36:44 -07:00
2022-04-28 04:08:45 -07:00
2022-01-05 20:57:32 -08:00