commit | 5dc240bcfe9a8d30b151be58b174261ba388cb01 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Fri Feb 20 18:23:02 2015 +0900 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Apr 14 17:00:44 2015 +1000 |
tree | 61637f05cba373da5ae3d14674fb33179984eabf | |
parent | 14520876751e1022704b58ce08e0dadc8c736656 [diff] |
drm/nouveau/instmem/gk20a: use DMA attributes instmem for GK20A is allocated using dma_alloc_coherent(), which provides us with a coherent CPU mapping that we never use because instmem objects are accessed through PRAMIN. Switch to dma_alloc_attrs() which gives us the option to dismiss that CPU mapping and free up some CPU virtual space. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>