diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-05-18 07:19:53 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-18 14:55:11 -0400 |
commit | abec0ddc19b89822138f3c8970516eed4d0e17d9 (patch) | |
tree | f788095b1bc9118c9afac81c77d27bd0044ac5ad /drivers/gpu/nvgpu/vgpu/vgpu.h | |
parent | dc45473eeb39d93100290a0f09bd787b3a5ce3f2 (diff) |
gpu: nvgpu: use mem_desc for semaphores
Replace manual buffer allocation and cpu_va pointer accesses with
gk20a_gmmu_{alloc,free}() and gk20a_mem_{rd,wr}() using a struct
mem_desc in gk20a_semaphore_pool, for buffer aperture flexibility.
JIRA DNVGPU-23
Change-Id: I394c38f407a9da02480bfd35062a892eec242ea3
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1146684
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
0 files changed, 0 insertions, 0 deletions