drm/nouveau/ttm: remove special handling of coherent objects
authorAlexandre Courbot <gnurou@gmail.com>
Wed, 13 Jul 2016 06:29:35 +0000 (15:29 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:55:18 +0000 (11:55 +1000)
commit36a471baa851359b3ca5a96e752c7c1a6266aef0
tree664a3321a4bcaf3a533771e838dc8b327815b86e
parent0e67bed2c765ff0fdaec62c963881f5416fe3692
drm/nouveau/ttm: remove special handling of coherent objects

TTM-allocated coherent objects were populated using the DMA API and
accessed using the mapping it returned to workaround coherency
issues. These issues seem to have been solved, thus remove this extra
case to handle and use the regular kernel mapping functions.

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