diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-06 18:17:02 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-21 17:49:14 +0000 |
commit | 0737080ba611f6703a2cec5f4aa3389fc42338a4 (patch) | |
tree | fdf7974b2b39d6358d631ab96df06ce8eaecb092 | |
parent | 21405f6fcfc428af3f2aa9d1bc1c3b10b25a71fa (diff) |
pan/lcra: Remove unused alignment parameters
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
-rw-r--r-- | src/panfrost/bifrost/bi_ra.c | 2 | ||||
-rw-r--r-- | src/panfrost/midgard/midgard_ra.c | 2 | ||||
-rw-r--r-- | src/panfrost/util/lcra.c | 1 | ||||
-rw-r--r-- | src/panfrost/util/lcra.h | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/src/panfrost/bifrost/bi_ra.c b/src/panfrost/bifrost/bi_ra.c index 0124bf5ebc9..b305afdf574 100644 --- a/src/panfrost/bifrost/bi_ra.c +++ b/src/panfrost/bifrost/bi_ra.c @@ -67,7 +67,7 @@ bi_allocate_registers(bi_context *ctx, bool *success) unsigned node_count = bi_max_temp(ctx); struct lcra_state *l = - lcra_alloc_equations(node_count, 1, 8, 16, 1); + lcra_alloc_equations(node_count, 16, 1); l->class_start[BI_REG_CLASS_WORK] = 0; l->class_size[BI_REG_CLASS_WORK] = 64 * 4; /* R0 - R63, all 32-bit */ diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c index d3fbabc77be..b2844ae9f38 100644 --- a/src/panfrost/midgard/midgard_ra.c +++ b/src/panfrost/midgard/midgard_ra.c @@ -449,7 +449,7 @@ allocate_registers(compiler_context *ctx, bool *spilled) if (!ctx->temp_count) return NULL; - struct lcra_state *l = lcra_alloc_equations(ctx->temp_count, 1, 8, 16, 5); + struct lcra_state *l = lcra_alloc_equations(ctx->temp_count, 16, 5); /* Starts of classes, in bytes */ l->class_start[REG_CLASS_WORK] = 16 * 0; diff --git a/src/panfrost/util/lcra.c b/src/panfrost/util/lcra.c index 28f9a735a44..0e30c1d1082 100644 --- a/src/panfrost/util/lcra.c +++ b/src/panfrost/util/lcra.c @@ -42,7 +42,6 @@ struct lcra_state * lcra_alloc_equations( unsigned node_count, - unsigned min_alignment, unsigned max_alignment, unsigned bound, unsigned class_count) { struct lcra_state *l = calloc(1, sizeof(*l)); diff --git a/src/panfrost/util/lcra.h b/src/panfrost/util/lcra.h index 68afc4a848e..61908953af9 100644 --- a/src/panfrost/util/lcra.h +++ b/src/panfrost/util/lcra.h @@ -82,7 +82,6 @@ struct lcra_state { struct lcra_state * lcra_alloc_equations( unsigned node_count, - unsigned min_alignment, unsigned max_alignment, unsigned bound, unsigned class_count); void |