drm/nouveau/bo: consider DMA buffers on x86 only
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 2 Mar 2016 10:12:27 +0000 (19:12 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:32 +0000 (10:13 +1000)
commit9bcd38de5be745af218df9f569ec01b62905fabf
tree9da76b448bef37d9a48c35fc682802e7630ee5c1
parentab08f38cacd47168db1d568ae0a8249105e0cc06
drm/nouveau/bo: consider DMA buffers on x86 only

The DMA API has different semantics on different architectures.
Currently on arm64, it can only provide memory from a small pool which
dries up quickly if we attempt to allocate big buffers from it.

Do not consider that option when running on non-x86, since regular TTM
buffers are the (current) best-fit for ARM platforms.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c