r600g: rename r600_reg::flush_flags -> sbu_flags
authorMarek Olšák <maraeo@gmail.com>
Mon, 30 Jan 2012 08:12:33 +0000 (09:12 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 31 Jan 2012 22:12:30 +0000 (23:12 +0100)
There is no other use for that.

src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_hw_context_priv.h

index 443bc7c6743e730c49c6a5f983d1599dc9e62b68..9487bdfc6f2e377c3ecd77aa1cce6a2c29a5505f 100644 (file)
@@ -902,7 +902,7 @@ static int evergreen_loop_const_init(struct r600_context *ctx, uint32_t offset)
        for (i = 0; i < nreg; i++) {
                r600_loop_consts[i].offset = EVERGREEN_LOOP_CONST_OFFSET + ((offset + i) * 4);
                r600_loop_consts[i].flags = REG_FLAG_DIRTY_ALWAYS;
-               r600_loop_consts[i].flush_flags = 0;
+               r600_loop_consts[i].sbu_flags = 0;
        }
        return r600_context_add_block(ctx, r600_loop_consts, nreg, PKT3_SET_LOOP_CONST, EVERGREEN_LOOP_CONST_OFFSET);
 }
index 7fd0152e4560529e1b145e756a133f054c205292..ea7978250bf8b58c7289ab7558c93a7cb9890ff5 100644 (file)
@@ -196,7 +196,7 @@ static void r600_init_block(struct r600_context *ctx,
                if ((ctx->screen->family > CHIP_R600) &&
                    (ctx->screen->family < CHIP_RV770) && reg[i+j].flags & REG_FLAG_RV6XX_SBU) {
                        block->pm4[block->pm4_ndwords++] = PKT3(PKT3_SURFACE_BASE_UPDATE, 0, 0);
-                       block->pm4[block->pm4_ndwords++] = reg[i+j].flush_flags;
+                       block->pm4[block->pm4_ndwords++] = reg[i+j].sbu_flags;
                }
        }
        /* check that we stay in limit */
@@ -718,7 +718,7 @@ static int r600_loop_const_init(struct r600_context *ctx, uint32_t offset)
        for (i = 0; i < nreg; i++) {
                r600_loop_consts[i].offset = R600_LOOP_CONST_OFFSET + ((offset + i) * 4);
                r600_loop_consts[i].flags = REG_FLAG_DIRTY_ALWAYS;
-               r600_loop_consts[i].flush_flags = 0;
+               r600_loop_consts[i].sbu_flags = 0;
        }
        return r600_context_add_block(ctx, r600_loop_consts, nreg, PKT3_SET_LOOP_CONST, R600_LOOP_CONST_OFFSET);
 }
index ed5662309824f44f592f7e72efc1786843efa9ac..278bc0d6fabc446c94d431c4e84120d0e3c135c0 100644 (file)
@@ -47,7 +47,7 @@
 struct r600_reg {
        unsigned                        offset;
        unsigned                        flags;
-       unsigned                        flush_flags;
+       unsigned                        sbu_flags;
 };
 
 /*