diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-31 08:52:53 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-31 09:14:01 -0400 |
commit | 63bc620b45af8c743ac291c8725933278c712692 (patch) | |
tree | e59be3182e842cb989d35074c2fc62f6ff8f9442 /drivers/gpu/drm/radeon/radeon.h | |
parent | 35916acedd8dadb361ef6439d05d60fbe8f53032 (diff) |
radeon: add radeon prime vmap support.
This is the same as the nouveau code pretty much.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 492654f8ee74..2e24022b389a 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -346,6 +346,9 @@ struct radeon_bo { | |||
346 | /* Constant after initialization */ | 346 | /* Constant after initialization */ |
347 | struct radeon_device *rdev; | 347 | struct radeon_device *rdev; |
348 | struct drm_gem_object gem_base; | 348 | struct drm_gem_object gem_base; |
349 | |||
350 | struct ttm_bo_kmap_obj dma_buf_vmap; | ||
351 | int vmapping_count; | ||
349 | }; | 352 | }; |
350 | #define gem_to_radeon_bo(gobj) container_of((gobj), struct radeon_bo, gem_base) | 353 | #define gem_to_radeon_bo(gobj) container_of((gobj), struct radeon_bo, gem_base) |
351 | 354 | ||