diff options
author | Alex Deucher <[email protected]> | 2012-03-20 19:43:59 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2012-03-20 19:43:59 -0400 |
commit | b4082f492b4b55df4c636445e47b97d1f1e4b5b2 (patch) | |
tree | a58855f68f0801e9438992546ac29be426b95630 /src/gallium/drivers/r600/evergreen_hw_context.c | |
parent | d09fce51f0cf91c9c07f69063fe2180cc319d8df (diff) |
r600g: add support for TN (trinity) APUs
Note: this is a candidate for the stable branches.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_hw_context.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_hw_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreen_hw_context.c b/src/gallium/drivers/r600/evergreen_hw_context.c index a05f3f3b1e7..0d2228d3885 100644 --- a/src/gallium/drivers/r600/evergreen_hw_context.c +++ b/src/gallium/drivers/r600/evergreen_hw_context.c @@ -669,7 +669,7 @@ int evergreen_context_init(struct r600_context *ctx) int r; /* add blocks */ - if (ctx->family == CHIP_CAYMAN) + if (ctx->family >= CHIP_CAYMAN) r = r600_context_add_block(ctx, cayman_config_reg_list, Elements(cayman_config_reg_list), PKT3_SET_CONFIG_REG, EVERGREEN_CONFIG_REG_OFFSET); else @@ -677,7 +677,7 @@ int evergreen_context_init(struct r600_context *ctx) Elements(evergreen_config_reg_list), PKT3_SET_CONFIG_REG, EVERGREEN_CONFIG_REG_OFFSET); if (r) goto out_err; - if (ctx->family == CHIP_CAYMAN) + if (ctx->family >= CHIP_CAYMAN) r = r600_context_add_block(ctx, cayman_context_reg_list, Elements(cayman_context_reg_list), PKT3_SET_CONTEXT_REG, EVERGREEN_CONTEXT_REG_OFFSET); else |