summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-31 16:52:53 +0400
committerDave Airlie <airlied@redhat.com>2012-05-31 17:14:01 +0400
commit63bc620b45af8c743ac291c8725933278c712692 (patch)
treee59be3182e842cb989d35074c2fc62f6ff8f9442 /drivers/gpu/drm/radeon/radeon.h
parent35916acedd8dadb361ef6439d05d60fbe8f53032 (diff)
downloadlinux-63bc620b45af8c743ac291c8725933278c712692.tar.xz
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.h3
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 {
/* Constant after initialization */
struct radeon_device *rdev;
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)