commit | b31cf78b93243f8ff64297c1f77a4d030c32ca56 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Fri Sep 04 19:59:34 2015 +0900 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Nov 03 15:02:18 2015 +1000 |
tree | d8006c111a78a3d14eb798b28465bfaceafa968a | |
parent | 524883bb48464ed76bd635819989284a249bf917 [diff] |
drm/nouveau/ttm: set the DMA mask for platform devices So far the DMA mask was not set for platform devices, which limited them to a 32-bit physical space. Allow dma_set_mask() to be called for non-PCI devices, and also take the IOMMU bit into account since it could restrict the physically addressable space. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>