summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
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/drivers/r600/r600.h
parente8e20313afbdf3a38e5a10e6fa566864452eeb2c (diff)
r600g: get tiling info from kernel
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 24e25cec0db..15ee0011061 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -99,8 +99,15 @@ enum chip_class {
EVERGREEN,
};
+struct r600_tiling_info {
+ unsigned num_channels;
+ unsigned num_banks;
+ unsigned group_bytes;
+};
+
enum radeon_family r600_get_family(struct radeon *rw);
enum chip_class r600_get_family_class(struct radeon *radeon);
+struct r600_tiling_info *r600_get_tiling_info(struct radeon *radeon);
/* r600_bo.c */
struct r600_bo;