radeonsi: remove references to Evergreen
authorMarek Olšák <marek.olsak@amd.com>
Thu, 14 Jun 2018 02:31:21 +0000 (22:31 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 29 Jun 2018 02:27:25 +0000 (22:27 -0400)
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_dma_cs.c
src/gallium/drivers/radeonsi/si_query.c
src/gallium/drivers/radeonsi/si_texture.c

index c8f864760f614e96af8b5c8e21914c0f01799780..5a58fe4ac4f73b05608ab35038615edb7b53623e 100644 (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;
index a0dec39b6bb7fe5c56c79f5d74874c247ac71e4e..0308112cbb450c0ed6e27b7716c321e18d2ee22e 100644 (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
index 5458e6260fc3ce959af476acdcf39d40db036953..e29ce7150bd1d6394f6f810aa0caceac71a04591 100644 (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];
index 22114fdb744ee7728d5206cfdcda4f492b0bb07b..bbfac7cc4be172eceac22f61c5fd392b44b308c7 100644 (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));