Sagar Kamble
b6d349dcf6
gpu: nvgpu: init all buffer compbits state members
...
User fence syncpt_id in the buffer compbits state was set to 0
on allocation through PREPARE_COMPRESSIBLE_READ ioctl or
MARK_COMPRESSIBLE_WRITE ioctl.
In case NVGPU_GPU_COMPBITS_GPU is requested through the ioctl
PREPARE_COMPRESSIBLE_READ, CDE conversion command is not
submitted and the output fence is cloned from the initial
state fence (with syncpt_id=0).
NvRmSyncWait on this fence from userspace lead to below error:
13e40000.host1x: nvhost_syncpt_wait_timeout: invalid syncpoint id 0
Initialize the buffer compbits state user fence syncpt_id to
NVGPU_INVALID_SYNCPT_ID with nvgpu_user_sync_init() so that
the userspace skips the NvRmSyncWait on that fence.
While at it, initialize other uninitialized members, valid_compbits
and zbc_color.
Bug 3360675
Change-Id: Ie2a584546e1ed37841cbdc3472b598794f911e6f
Signed-off-by: Sagar Kamble <skamble@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2631235
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Konsta Holtta <kholtta@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 >
GVS: Gerrit_Virtual_Submit
2021-11-27 10:08:14 -08:00
..
2021-07-02 09:57:56 -07:00
2021-11-18 03:57:18 -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
2021-10-26 13:47:32 -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
2021-09-02 11:42:08 -07: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:13:28 -06:00
2019-06-11 09:46:24 -07:00
2021-11-03 20:55:08 -07:00
2020-12-15 14:13:28 -06:00
2021-11-24 17:55:57 -08:00
2018-06-15 17:47:31 -07:00
2021-09-10 16:02:43 -07:00
2021-09-10 16:02:43 -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
2021-10-11 08:16:48 -07: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
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
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2021-09-10 16:02:43 -07:00
2021-11-27 10:08:14 -08:00
2021-09-02 11:42:08 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2021-11-25 08:16:42 -08: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
2021-10-27 21:18:19 -07:00
2021-05-10 02:53:39 -07:00
2021-04-19 19:45:24 -07:00
2021-06-28 22:39:06 -07:00
2018-06-15 17:47:31 -07:00
2021-05-18 18:18:25 -07:00
2020-12-15 14:13:28 -06:00
2021-09-01 09:50:11 -07:00
2021-11-12 07:30:33 -08:00
2018-10-29 08:04:25 -07:00
2021-10-22 06:20:13 -07:00
2020-12-15 14:13:28 -06:00
2021-06-27 05:02:53 -07:00
2021-06-27 05:02:58 -07:00
2021-11-24 04:47:30 -08:00
2020-12-15 14:13:48 -06:00
2021-11-18 03:57:18 -08:00
2021-06-15 04:57:57 -07:00
2021-05-10 10:08:13 -07:00
2021-05-10 10:08:13 -07:00
2021-11-08 15:08:32 -08:00
2020-12-15 14:13:28 -06:00
2021-11-12 07:31:15 -08:00
2021-04-28 11:19:19 -07:00
2021-04-19 19:45:24 -07:00
2018-06-15 17:47:31 -07:00
2021-11-26 08:47:52 -08:00
2021-08-23 05:27:50 -07:00
2020-12-15 14:13:28 -06:00
2021-06-28 18:09:14 -07:00
2021-10-11 12:29:09 -07:00
2020-12-15 14:13:48 -06:00
2021-10-11 12:29:09 -07:00
2020-12-15 14:13:28 -06:00
2020-12-15 14:13:28 -06:00
2018-07-26 00:06:07 -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
2021-11-26 08:46:00 -08: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
2021-11-25 08:16:42 -08:00
2021-09-02 15:43:07 -07:00
2018-06-15 17:47:31 -07:00
2021-09-25 15:47:25 -07:00
2021-11-02 14:04:47 -07:00
2021-06-08 21:54:23 -07:00
2021-09-25 15:47:25 -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
2021-11-26 08:46:00 -08: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
2021-09-07 10:28:58 -07: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
2021-09-26 00:35:24 -07:00
2018-06-15 17:47:31 -07:00
2020-12-15 14:10:29 -06:00
2021-10-26 13:47:32 -07:00
2021-10-22 06:20:13 -07:00
2021-06-22 14:10:22 -07:00
2019-08-28 14:24:19 -07:00