diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-05-16 04:33:38 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-24 15:39:06 -0400 |
commit | 3e431e26c5c3aba6da8a6555ec3d7b7df53f534a (patch) | |
tree | de7baabb5bbc4a5d27af36d62c00827b7bad3f54 /include/uapi/linux | |
parent | dc7af18bf8056c213165d4cd1c55ea0fba9f1341 (diff) |
gpu: nvgpu: add PRAMIN support for mem accessors
To support vidmem, implement a way to access buffers via the PRAMIN
window instead of just kernel-mapped sysmem buffers for iGPU as of now.
Depending on the buffer aperture, choose between the two access types in
the buffer memory accessor functions.
vmap()/vunmap() pairs are no-ops for buffers that can't be cpu-mapped.
Two uses of DMA_ATTR_READ_ONLY are removed in the ucode loading path to
support writing to them too via the indirection in addition to cpu.
JIRA DNVGPU-23
Change-Id: I282dba6741c6b8224bc12e69c1fb3936bde7e6ed
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1141314
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions