drm/nouveau: map pages using DMA API
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 31 Jul 2014 09:09:42 +0000 (18:09 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:11:11 +0000 (05:11 +1000)
commitfd1496a0fc77f955317d6ca511f66a9e788e7e02
tree131727e8c03885892c16e0c69f3f5064ca041b98
parent3967633d2bb16cdb77e81f1b71020b7264cf0553
drm/nouveau: map pages using DMA API

The DMA API is the recommended way to map pages no matter what the
underlying bus is. Use the DMA functions for page mapping and remove
currently existing wrappers.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/device/base.c
drivers/gpu/drm/nouveau/core/include/core/device.h
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c
drivers/gpu/drm/nouveau/nouveau_bo.c