drm/nouveau: use prime helpers
authorAaron Plattner <aplattner@nvidia.com>
Tue, 15 Jan 2013 20:47:43 +0000 (20:47 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Feb 2013 03:39:09 +0000 (13:39 +1000)
commitab9ccb96a6e6f95bcde6b8b2a524370efdbfdcd6
tree132cc3a4707a5a7661dc1fb86d6b7758ab7f0156
parent89177644a7b6306e6084a89eab7e290f4bfef397
drm/nouveau: use prime helpers

Simplify the Nouveau prime implementation by using the default behavior provided
by drm_gem_prime_import and drm_gem_prime_export.

v2: Rename functions to nouveau_gem_prime_get_sg_table and
nouveau_gem_prime_import_sg_table.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.h
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_gem.h
drivers/gpu/drm/nouveau/nouveau_prime.c