summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-07-21 15:39:01 +1000
committerJerome Glisse <[email protected]>2010-07-21 17:05:36 -0400
commit9433d0e8010bfe182762f8d2bd856a416a7f93bb (patch)
tree4dca8302ca2bd3c6af56b36195f654a596e3a682 /src/gallium/winsys/r600
parent1a3fa3e91089d534b8219518a44ae8ada66be3e3 (diff)
r600g: add family retrival
allow pipe driver to get the family of the gpu.
Diffstat (limited to 'src/gallium/winsys/r600')
-rw-r--r--src/gallium/winsys/r600/drm/radeon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon.c b/src/gallium/winsys/r600/drm/radeon.c
index f2113c5807e..7e656698064 100644
--- a/src/gallium/winsys/r600/drm/radeon.c
+++ b/src/gallium/winsys/r600/drm/radeon.c
@@ -25,6 +25,11 @@
#include "radeon_drm.h"
#include "r600d.h"
+enum radeon_family radeon_get_family(struct radeon *radeon)
+{
+ return radeon->family;
+}
+
static int radeon_get_device(struct radeon *radeon)
{
struct drm_radeon_info info;