diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-08-17 08:17:41 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-01 12:11:07 -0400 |
commit | 713f1ddcdfa5aec04bbb992e52a7d60fc68e966f (patch) | |
tree | 6068cc6e9d64970bf6840a9f147967a9fdde7507 /drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |
parent | 9ebd051779827a05d62fbba7ffa65cf401c256b3 (diff) |
gpu: nvgpu: support pramin access for non-contiguous vidmem
API pramin_access_batched() currenly only supports contiguous
allocations.
Modify this API to support non-contiguous allocations from
page allocator as well
Update gk20a_mem_wr32() and gk20a_mem_rd32()to reuse
pramin_access_batched()
Use gk20a_memset() in gk20a_gmmu_free_attr_vid() to clear
vidmem pages for kernel buffers
Jira DNVGPU-30
Change-Id: I43630912f4837d8ebc6b9c58f4f427218ef9725b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1204303
(cherry picked from commit 2f84f141d02fd2f641cb18a48896fb3ae5f7e51f)
Reviewed-on: http://git-master/r/1210954
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
0 files changed, 0 insertions, 0 deletions