commit | 9d0394c6bed5b4b78167cc0eea294754a9cb2bbc | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Thu Feb 25 15:08:42 2016 +0900 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Mar 14 10:13:29 2016 +1000 |
tree | 1bb24056ddf62eaf427b981423447ce180011d94 | |
parent | 7d31cb7ca47e7268478033d62ce3ad37bf509655 [diff] |
drm/nouveau/instmem/gk20a: set DMA mask early DMA mask is typically set in nouveau_ttm_init(), but this function is called late during initialization and GK20A's instmem will have called DMA functions before this happens. Having a wrongly set DMA mask can result in the use of unneeded bounce buffers. Set it early to avoid this. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>