diff options
author | Alex Deucher <[email protected]> | 2012-09-28 11:06:48 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2012-10-01 10:29:50 +0200 |
commit | f1a3de5e9dd8f965fc99cb33e36643b8e8aac018 (patch) | |
tree | 7b2912d0abc667cf7051361f9b7a7671a011fc3f /src/gallium/drivers/radeonsi/si_state.c | |
parent | 22ae062fa168866c743e316ca298eb65cdc565e7 (diff) |
radeonsi: drop some cayman remnants
Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index b6b23065b94..b6e37fb6f55 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1801,18 +1801,7 @@ static void si_set_framebuffer_state(struct pipe_context *ctx, tl_y = 0; br_x = state->width; br_y = state->height; -#if 0 /* These shouldn't be necessary on SI, see PA_SC_ENHANCE register */ - /* EG hw workaround */ - if (br_x == 0) - tl_x = 1; - if (br_y == 0) - tl_y = 1; - /* cayman hw workaround */ - if (rctx->chip_class == CAYMAN) { - if (br_x == 1 && br_y == 1) - br_x = 2; - } -#endif + tl = S_028240_TL_X(tl_x) | S_028240_TL_Y(tl_y); br = S_028244_BR_X(br_x) | S_028244_BR_Y(br_y); |