summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600/drm/r600.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-08 11:56:43 +1000
committerDave Airlie <[email protected]>2010-10-18 09:25:22 +1000
commit7b3fa038830663de9bceded1b0dd2d64b8cf39c4 (patch)
treea83195c2f9200fbf76f89e32194091afceb9d1c5 /src/gallium/winsys/r600/drm/r600.c
parente8e20313afbdf3a38e5a10e6fa566864452eeb2c (diff)
r600g: get tiling info from kernel
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600.c')
-rw-r--r--src/gallium/winsys/r600/drm/r600.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600.c b/src/gallium/winsys/r600/drm/r600.c
index 496547ca994..0a4d2e791db 100644
--- a/src/gallium/winsys/r600/drm/r600.c
+++ b/src/gallium/winsys/r600/drm/r600.c
@@ -40,6 +40,11 @@ enum chip_class r600_get_family_class(struct radeon *radeon)
return radeon->chip_class;
}
+struct r600_tiling_info *r600_get_tiling_info(struct radeon *radeon)
+{
+ return &radeon->tiling_info;
+}
+
static int r600_get_device(struct radeon *r600)
{
struct drm_radeon_info info;