diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2013-01-15 20:47:44 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-02-08 13:48:43 +1000 |
commit | 1e6d17a5df848cf8e483b689c6295776e9d6d997 (patch) | |
tree | f78ba522666ac7a2284aca98417ebfbb9f42c538 /drivers/gpu/drm/radeon/radeon.h | |
parent | ab9ccb96a6e6f95bcde6b8b2a524370efdbfdcd6 (diff) | |
download | linux-1e6d17a5df848cf8e483b689c6295776e9d6d997.tar.bz2 |
drm/radeon: use prime helpers
Simplify the Radeon prime implementation by using the default behavior provided
by drm_gem_prime_import and drm_gem_prime_export.
v2:
- Rename functions to radeon_gem_prime_get_sg_table and
radeon_gem_prime_import_sg_table.
- Delete the now-unused vmapping_count variable.
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 59bfbd3868c9..bb43a849759b 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -350,7 +350,6 @@ struct radeon_bo { struct drm_gem_object gem_base; struct ttm_bo_kmap_obj dma_buf_vmap; - int vmapping_count; }; #define gem_to_radeon_bo(gobj) container_of((gobj), struct radeon_bo, gem_base) |