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>
This commit is contained in:
parent
c475ae5d3d
commit
4045c3d060
|
@ -300,6 +300,7 @@ static const char *r600_get_family_name(enum radeon_family family)
|
|||
case CHIP_PITCAIRN: return "AMD PITCAIRN";
|
||||
case CHIP_VERDE: return "AMD CAPE VERDE";
|
||||
case CHIP_OLAND: return "AMD OLAND";
|
||||
case CHIP_HAINAN: return "AMD HAINAN";
|
||||
default: return "AMD unknown";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2791,6 +2791,9 @@ void si_init_config(struct r600_context *rctx)
|
|||
case CHIP_OLAND:
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000082);
|
||||
break;
|
||||
case CHIP_HAINAN:
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000);
|
||||
break;
|
||||
default:
|
||||
si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000);
|
||||
break;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -124,6 +124,7 @@ enum radeon_family {
|
|||
CHIP_PITCAIRN,
|
||||
CHIP_VERDE,
|
||||
CHIP_OLAND,
|
||||
CHIP_HAINAN,
|
||||
CHIP_LAST,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue