summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-06 16:49:30 +0100
committerBen Skeggs <bskeggs@redhat.com>2016-10-12 17:29:34 +1000
commit2ecf7c43d78093a24aa44c0a14a335457f065bb2 (patch)
tree57fe01b56fe3679c52bcc2425ceb888b7f8ff18f /drivers/gpu/drm/arm
parentebf7655aebe6a4e339a269130b399f5f7b0bf4b9 (diff)
drm/nouveau/fb/nv50: defer DMA mapping of scratch page to oneinit() hook
The 100c08 scratch page is mapped using dma_map_page() before the TTM layer has had a chance to set the DMA mask. This means we are still running with the default of 32 when this code executes, and this causes problems for platforms with no memory below 4 GB (such as AMD Seattle) So move the dma_map_page() to the .oneinit hook, which executes after the DMA mask has been set. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/arm')
0 files changed, 0 insertions, 0 deletions