Alex Waterman
3fdd8e38b2
gpu: nvgpu: Use our own vmap() for coherent DMA buffers
...
For some reason the GPU does not like the mappings created by the
DMA API for coherent sysmem buffers. But a plain vmap() does seem
to work. To work around this, when we are using coherent sysmem,
force the NO_KERNEL_MAPPING flag to on and then make a vmap() in
the nvgpu DMA API wrapper. The rest of the driver will be none the
wiser but will work as expected.
This problem is not understood yet but it is being tracked in bug
2040115. Once this bug is understood this WAR should either be
determined as necessary or reverted with an appropriate fix.
Bug 2040115
JIRA EVLR-2333
Change-Id: Idae7a0c92441f0309df572ac18697af49bb6ff2b
Signed-off-by: Alex Waterman <alexw@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/1657568
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2018-02-27 16:03:52 -08:00
..
2018-02-27 14:30:52 -08:00
2017-10-17 10:43:39 -07:00
2017-10-17 10:43:39 -07:00
2018-02-02 12:11:53 -08:00
2017-10-17 10:43:39 -07:00
2018-02-15 14:11:46 -08:00
2018-02-15 14:11:46 -08:00
2018-01-26 10:50:37 -08:00
2018-02-26 03:48:14 -08:00
2017-11-28 09:46:54 -08:00
2017-11-30 23:53:31 -08:00
2017-11-14 15:46:58 -08:00
2017-06-20 19:14:15 -07:00
2017-11-15 13:26:19 -08:00
2017-05-12 16:09:05 -07:00
2017-11-02 10:26:21 -07:00
2017-11-01 20:15:47 -07:00
2017-09-22 15:44:25 -07:00
2017-06-02 06:53:35 -07:00
2017-11-02 10:26:21 -07:00
2017-06-02 06:53:35 -07:00
2017-08-04 09:24:02 -07:00
2017-06-02 06:53:35 -07:00
2017-11-02 10:26:21 -07:00
2018-01-17 12:29:09 -08:00
2017-06-02 06:53:35 -07:00
2017-08-04 09:24:02 -07:00
2017-06-02 06:53:35 -07:00
2017-08-24 09:34:52 -07:00
2017-08-24 09:34:52 -07:00
2017-10-13 15:20:24 -07:00
2017-06-02 06:53:35 -07:00
2017-08-04 09:24:02 -07:00
2017-06-02 06:53:35 -07:00
2018-01-18 23:40:02 -08:00
2017-06-02 06:53:35 -07:00
2017-10-20 10:05:29 -07:00
2017-06-02 06:53:35 -07:00
2017-09-12 13:00:19 -07:00
2017-09-12 13:00:19 -07:00
2018-02-15 14:11:46 -08:00
2018-02-27 16:03:52 -08:00
2018-02-01 13:54:08 -08:00
2018-02-01 13:54:08 -08:00
2018-02-23 21:53:19 -08:00
2017-11-06 10:06:40 -08:00
2017-11-02 10:26:21 -07:00
2017-08-14 11:18:31 -07:00
2017-10-16 13:35:04 -07:00
2017-06-07 20:07:00 -07:00
2018-01-22 22:20:15 -08:00
2017-12-28 03:01:48 -08:00
2018-02-07 15:35:47 -08:00
2017-11-13 10:56:54 -08:00
2018-02-26 03:48:11 -08:00
2017-12-28 10:01:32 -08:00
2018-02-26 03:48:11 -08:00
2017-04-02 08:28:22 -07:00
2018-01-25 14:25:43 -08:00
2017-11-08 14:06:20 -08:00
2018-01-22 22:20:15 -08:00
2017-10-20 10:05:29 -07:00
2017-12-01 08:38:17 -08:00
2017-10-10 13:40:53 -07:00
2017-06-02 06:53:35 -07:00
2018-01-24 14:42:42 -08:00
2017-11-02 10:26:21 -07:00
2018-01-22 22:20:15 -08:00
2018-01-22 22:20:15 -08:00
2018-02-27 16:03:52 -08:00
2018-01-22 22:20:15 -08:00
2018-02-27 16:03:52 -08:00
2017-06-08 06:37:15 -07:00
2018-02-26 03:48:11 -08:00
2018-02-25 21:48:24 -08:00
2018-02-02 12:11:53 -08:00
2017-12-28 10:02:09 -08:00
2018-01-22 22:20:15 -08:00
2018-01-22 22:20:15 -08:00
2018-02-27 16:03:52 -08:00
2017-04-18 15:04:34 -07:00
2018-02-15 14:11:46 -08:00
2018-02-14 21:43:43 -08:00
2018-02-15 14:11:46 -08:00
2018-02-15 14:11:46 -08:00
2017-12-28 10:01:36 -08:00
2018-02-15 14:11:46 -08:00
2017-10-14 14:13:18 -07:00
2017-11-02 10:26:21 -07:00
2017-11-01 10:55:41 -07:00
2018-01-25 14:25:47 -08:00
2017-10-20 10:05:29 -07:00
2017-12-01 09:55:22 -08:00
2017-11-30 01:28:11 -08:00
2017-11-14 15:46:55 -08:00
2018-01-20 02:19:02 -08:00
2017-06-27 03:57:13 -07:00
2017-09-22 15:44:25 -07:00
2017-11-02 10:26:21 -07:00
2017-11-13 18:56:30 -08:00
2018-02-27 16:03:43 -08:00