radeonsi: rename SI chip class from TAHITI to SI

Covers the entire family.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2013-06-07 13:58:34 -04:00
parent 47e35eff9d
commit 5b3f1ea933
3 changed files with 4 additions and 4 deletions

View File

@ -232,7 +232,7 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
}
switch (rctx->chip_class) {
case TAHITI:
case SI:
si_init_state_functions(rctx);
LIST_INITHEAD(&rctx->active_query_list);
rctx->cs = rctx->ws->cs_create(rctx->ws, RING_GFX, NULL);
@ -795,7 +795,7 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws)
/* setup class */
if (rscreen->family >= CHIP_TAHITI) {
rscreen->chip_class = TAHITI;
rscreen->chip_class = SI;
} else {
fprintf(stderr, "r600: Unsupported family %d\n", rscreen->family);
FREE(rscreen);

View File

@ -322,7 +322,7 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
case CHIP_VERDE:
case CHIP_OLAND:
case CHIP_HAINAN:
ws->info.chip_class = TAHITI;
ws->info.chip_class = SI;
break;
}

View File

@ -137,7 +137,7 @@ enum chip_class {
R700,
EVERGREEN,
CAYMAN,
TAHITI,
SI,
};
enum ring_type {