Module: Mesa Branch: main Commit: 023fa0aa5d3ab9baa4a9061d9d7c74e20b723d1f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=023fa0aa5d3ab9baa4a9061d9d7c74e20b723d1f
Author: Christian Gmeiner <[email protected]> Date: Tue Nov 7 12:16:53 2023 +0100 etnaviv: Mark etna_rs_gen_clear_surface(..) private There are no users outside of etnaviv_rs.c. Signed-off-by: Christian Gmeiner <[email protected]> Tested-by: Marek Vasut <[email protected]> Acked-by: David Heidelberg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26096> --- src/gallium/drivers/etnaviv/etnaviv_clear_blit.h | 5 ----- src/gallium/drivers/etnaviv/etnaviv_rs.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h index 9a1982cd402..df0323ffdab 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h +++ b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h @@ -30,14 +30,9 @@ #include <stdint.h> struct etna_context; -struct etna_surface; #include "pipe/p_context.h" -void -etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, - uint64_t clear_value); - void etna_copy_resource(struct pipe_context *pctx, struct pipe_resource *dst, struct pipe_resource *src, int first_level, int last_level); diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c index b7af8b796fb..0d07b845172 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c @@ -280,7 +280,7 @@ etna_submit_rs_state(struct etna_context *ctx, } /* Generate clear command for a surface (non-fast clear case) */ -void +static void etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, uint64_t clear_value) {
