Re: [Mesa-dev] [PATCH 5/8] etnaviv: export etna_submit_rs_state
Am Fr., 12. Apr. 2019 um 19:38 Uhr schrieb Lucas Stach : > > The new 2D YUV blit needs this in some cases, so make it available. > > Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner > --- > src/gallium/drivers/etnaviv/etnaviv_rs.c | 2 +- > src/gallium/drivers/etnaviv/etnaviv_rs.h | 4 > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c > b/src/gallium/drivers/etnaviv/etnaviv_rs.c > index a9d3872ad41b..fcc2342aedc3 100644 > --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c > +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c > @@ -171,7 +171,7 @@ etna_modify_rs_clearbits(struct compiled_rs_state *cs, > uint32_t clear_bits) > > /* submit RS state, without any processing and no dependence on context > * except TS if this is a source-to-destination blit. */ > -static void > +void > etna_submit_rs_state(struct etna_context *ctx, > const struct compiled_rs_state *cs) > { > diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.h > b/src/gallium/drivers/etnaviv/etnaviv_rs.h > index 125a13a9ad34..81ef05955a79 100644 > --- a/src/gallium/drivers/etnaviv/etnaviv_rs.h > +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.h > @@ -84,6 +84,10 @@ void > etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, >const struct rs_state *rs); > > +void > +etna_submit_rs_state(struct etna_context *ctx, > + const struct compiled_rs_state *cs); > + > /* Context initialization for RS clear_blit functions. */ > void > etna_clear_blit_rs_init(struct pipe_context *pctx); > -- > 2.20.1 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH 5/8] etnaviv: export etna_submit_rs_state
On Fri, 2019-04-12 at 19:38 +0200, Lucas Stach wrote: > The new 2D YUV blit needs this in some cases, so make it available. That is a bit unspecific. Maybe s/in some cases/to implement a workaround for a cache flushing bug on (at least) GC2000/ ? > Signed-off-by: Lucas Stach Either way, Reviewed-by: Philipp Zabel regards Philipp ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH 5/8] etnaviv: export etna_submit_rs_state
The new 2D YUV blit needs this in some cases, so make it available. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_rs.c | 2 +- src/gallium/drivers/etnaviv/etnaviv_rs.h | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c index a9d3872ad41b..fcc2342aedc3 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c @@ -171,7 +171,7 @@ etna_modify_rs_clearbits(struct compiled_rs_state *cs, uint32_t clear_bits) /* submit RS state, without any processing and no dependence on context * except TS if this is a source-to-destination blit. */ -static void +void etna_submit_rs_state(struct etna_context *ctx, const struct compiled_rs_state *cs) { diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.h b/src/gallium/drivers/etnaviv/etnaviv_rs.h index 125a13a9ad34..81ef05955a79 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.h +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.h @@ -84,6 +84,10 @@ void etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, const struct rs_state *rs); +void +etna_submit_rs_state(struct etna_context *ctx, + const struct compiled_rs_state *cs); + /* Context initialization for RS clear_blit functions. */ void etna_clear_blit_rs_init(struct pipe_context *pctx); -- 2.20.1 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev