radeonsi: remove references to Evergreen

This commit is contained in:
Marek Olšák 2018-06-13 22:31:21 -04:00
parent 1542169a4a
commit fb28bf23db
4 changed files with 2 additions and 4 deletions

View file

@ -957,7 +957,6 @@ void si_init_compute_functions(struct si_context *sctx)
sctx->b.create_compute_state = si_create_compute_state;
sctx->b.delete_compute_state = si_delete_compute_state;
sctx->b.bind_compute_state = si_bind_compute_state;
/* ctx->context.create_sampler_view = evergreen_compute_create_sampler_view; */
sctx->b.set_compute_resources = si_set_compute_resources;
sctx->b.set_global_binding = si_set_global_binding;
sctx->b.launch_grid = si_launch_grid;

View file

@ -28,7 +28,7 @@ static void si_dma_emit_wait_idle(struct si_context *sctx)
{
struct radeon_cmdbuf *cs = sctx->dma_cs;
/* NOP waits for idle on Evergreen and later. */
/* NOP waits for idle. */
if (sctx->chip_class >= CIK)
radeon_emit(cs, 0x00000000); /* NOP */
else

View file

@ -1182,7 +1182,6 @@ static void si_get_hw_query_params(struct si_context *sctx,
break;
case PIPE_QUERY_PIPELINE_STATISTICS:
{
/* Offsets apply to EG+ */
static const unsigned offsets[] = {56, 48, 24, 32, 40, 16, 8, 0, 64, 72, 80};
params->start_offset = offsets[index];
params->end_offset = 88 + offsets[index];

View file

@ -240,7 +240,7 @@ static int si_init_surface(struct si_screen *sscreen,
if (!is_flushed_depth &&
ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
bpe = 4; /* stencil is allocated separately on evergreen */
bpe = 4; /* stencil is allocated separately */
} else {
bpe = util_format_get_blocksize(ptex->format);
assert(util_is_power_of_two_or_zero(bpe));