diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-06-15 07:06:28 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-20 10:45:33 -0400 |
commit | 27baafaad1a5c999642939faef63cacab17c9ed6 (patch) | |
tree | 9ad2ce8dbf044f120c8959f4c69d825dee3183f8 /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | efb6113b65c4976cf718787b2adc64d495e8fd94 (diff) |
gpu: nvgpu: use gpfifo_mem via gk20a_mem_{rd,wr}
Use gk20a_mem_*() accessors for gpfifo memory in work submission instead
of direct cpu accesses in order to support other apertures than sysmem.
The gpfifo memory is still allocated from sysmem for dgpus too.
Split the copying of priv_cmds and the main gpfifo to be submitted in
gk20a_submit_channel_gpfifo() into separate functions.
JIRA DNVGPU-21
Change-Id: If271ca8e7e34235f00d31855dbccf77c0008e10b
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1145923
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
0 files changed, 0 insertions, 0 deletions