[PATCH 6/9] etnaviv: add 2D GPU YUV->RGB blitter
Philipp Zabel
p.zabel at pengutronix.de
Tue Jul 17 08:58:11 UTC 2018
On Mon, 2018-07-09 at 18:02 +0200, Lucas Stach wrote:
> This adds a blit path using the 2D GPU for a linear YUV to tiled RGB
> blit. This allows to implement importing of planar YUV textures with
> a single copy.
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> src/gallium/drivers/etnaviv/Makefile.sources | 2 +
> src/gallium/drivers/etnaviv/etnaviv_2d.c | 166 ++
> src/gallium/drivers/etnaviv/etnaviv_2d.h | 37 +
> src/gallium/drivers/etnaviv/hw/state_2d.xml.h | 1499 +++++++++++++++++
> 4 files changed, 1704 insertions(+)
> create mode 100644 src/gallium/drivers/etnaviv/etnaviv_2d.c
> create mode 100644 src/gallium/drivers/etnaviv/etnaviv_2d.h
> create mode 100644 src/gallium/drivers/etnaviv/hw/state_2d.xml.h
>
> diff --git a/src/gallium/drivers/etnaviv/Makefile.sources b/src/gallium/drivers/etnaviv/Makefile.sources
> index 0b2081229999..d1c9c2db166e 100644
> --- a/src/gallium/drivers/etnaviv/Makefile.sources
> +++ b/src/gallium/drivers/etnaviv/Makefile.sources
> @@ -3,11 +3,13 @@ C_SOURCES := \
> hw/common.xml.h \
> hw/common_3d.xml.h \
> hw/isa.xml.h \
> + hw/state_2d.xml.h \
> hw/state_3d.xml.h \
> hw/state_blt.xml.h \
> hw/state.xml.h \
> hw/texdesc_3d.xml.h \
> \
> + etnaviv_2d.c \
> etnaviv_asm.c \
> etnaviv_asm.h \
> etnaviv_blend.c \
This is patch is missing the corresponding meson.build changes:
----------8<----------
diff --git a/src/gallium/drivers/etnaviv/meson.build
b/src/gallium/drivers/etnaviv/meson.build
index 1733024ac988..103ed2a2b6a0 100644
--- a/src/gallium/drivers/etnaviv/meson.build
+++ b/src/gallium/drivers/etnaviv/meson.build
@@ -23,10 +23,13 @@ files_etnaviv = files(
'hw/common.xml.h',
'hw/common_3d.xml.h',
'hw/isa.xml.h',
+ 'hw/state_2d.xml.h',
'hw/state_3d.xml.h',
'hw/state_blt.xml.h',
'hw/state.xml.h',
'hw/texdesc_3d.xml.h',
+ 'etnaviv_2d.c',
+ 'etnaviv_2d.h',
'etnaviv_asm.c',
'etnaviv_asm.h',
'etnaviv_blend.c',
---------->8----------
regards
Philipp
More information about the etnaviv
mailing list