summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-05-13 16:24:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-05-14 10:51:10 -0400
commit4045c3d0601f1e3280625ed837846ecad5d051f7 (patch)
tree060c53d3f1154d969fa16f3fbf86fc7d4840071a /src/gallium/winsys
parentc475ae5d3d2767a6ad7ae5c0d66f00003011be69 (diff)
downloadexternal_mesa3d-4045c3d0601f1e3280625ed837846ecad5d051f7.zip
external_mesa3d-4045c3d0601f1e3280625ed837846ecad5d051f7.tar.gz
external_mesa3d-4045c3d0601f1e3280625ed837846ecad5d051f7.tar.bz2
radeonsi: add support for hainan chips
Note: this is a candidate for the 9.1 branch Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c1
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 3689020..15d5d31 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -321,6 +321,7 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
case CHIP_PITCAIRN:
case CHIP_VERDE:
case CHIP_OLAND:
+ case CHIP_HAINAN:
ws->info.chip_class = TAHITI;
break;
}
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index 1c2fb69..d0f16e1 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -124,6 +124,7 @@ enum radeon_family {
CHIP_PITCAIRN,
CHIP_VERDE,
CHIP_OLAND,
+ CHIP_HAINAN,
CHIP_LAST,
};