mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
Revert "radeonsi: properly set the raster_config for KV"
This reverts commit 20bb0a771d.
Requested-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
4a2a49040e
commit
76cc235e2b
1 changed files with 5 additions and 9 deletions
|
|
@ -3023,7 +3023,6 @@ si_write_harvested_raster_configs(struct si_context *sctx,
|
|||
|
||||
void si_init_config(struct si_context *sctx)
|
||||
{
|
||||
unsigned num_rb = sctx->screen->b.info.r600_num_backends;
|
||||
struct si_pm4_state *pm4 = CALLOC_STRUCT(si_pm4_state);
|
||||
|
||||
if (pm4 == NULL)
|
||||
|
|
@ -3072,17 +3071,14 @@ void si_init_config(struct si_context *sctx)
|
|||
si_pm4_set_reg(pm4, R_028354_PA_SC_RASTER_CONFIG_1, 0x0000002e);
|
||||
break;
|
||||
case CHIP_KAVERI:
|
||||
if (num_rb > 1)
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000002);
|
||||
else
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000);
|
||||
si_pm4_set_reg(pm4, R_028354_PA_SC_RASTER_CONFIG_1, 0x00000000);
|
||||
break;
|
||||
/* XXX todo */
|
||||
case CHIP_KABINI:
|
||||
/* XXX todo */
|
||||
case CHIP_MULLINS:
|
||||
/* XXX todo */
|
||||
default:
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000);
|
||||
si_pm4_set_reg(pm4, R_028354_PA_SC_RASTER_CONFIG_1, 0x00000000);
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0);
|
||||
si_pm4_set_reg(pm4, R_028354_PA_SC_RASTER_CONFIG_1, 0);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue