[Mesa-dev] [PATCH] vc4: Introduce XML-based packet header generation like Intel's.

Jason Ekstrand jason at jlekstrand.net
Thu Jun 29 15:57:40 UTC 2017


On Wed, Jun 28, 2017 at 11:18 AM, Eric Anholt <eric at anholt.net> wrote:

> I really liked this idea, as it should help with management of packet
> parsing tools like the CL dump.  The python script is forked off of theirs
> because our packets are byte-based instead of dwords, and the changes to
> do so while avoiding performance regressions due to unaligned accesses
> were quite invasive.
> ---
>
> I'm hoping for an ack from Jason or Kenneth on the genxml script fork
> to the new location, and an Android test from Rob.  Full branch using
> the XML stuff is at vc4-xml of my Mesa tree.
>

Fine with me.  One day, it'd be neat if we could recombine but a fork seems
like a good initial plan to me.

Acked-by: Jason Ekstrand <jason at jlekstrand.net>

Glad to see genxml be useful for more than just us! :-)

--Jason


>  Android.mk                                         |   1 +
>  configure.ac                                       |   1 +
>  src/Makefile.am                                    |   4 +
>  src/broadcom/.gitignore                            |   1 +
>  .../Android.genxml.mk}                             |  43 +-
>  src/{intel => broadcom}/Android.mk                 |   5 -
>  src/{amd => broadcom}/Makefile.am                  |  22 +-
>  .../Makefile.genxml.am}                            |  18 +-
>  src/broadcom/Makefile.sources                      |  12 +
>  src/broadcom/cle/gen_pack_header.py                | 547
> +++++++++++++++++++++
>  src/broadcom/cle/v3d_packet_helpers.h              | 189 +++++++
>  src/broadcom/cle/v3d_packet_v21.xml                | 220 +++++++++
>  src/gallium/drivers/vc4/Android.mk                 |   5 +-
>  13 files changed, 1035 insertions(+), 33 deletions(-)
>  create mode 100644 src/broadcom/.gitignore
>  copy src/{mesa/Android.libmesa_git_sha1.mk => broadcom/Android.genxml.mk}
> (60%)
>  copy src/{intel => broadcom}/Android.mk (86%)
>  copy src/{amd => broadcom}/Makefile.am (75%)
>  copy src/{intel/Makefile.common.am => broadcom/Makefile.genxml.am} (74%)
>  create mode 100644 src/broadcom/Makefile.sources
>  create mode 100644 src/broadcom/cle/gen_pack_header.py
>  create mode 100644 src/broadcom/cle/v3d_packet_helpers.h
>  create mode 100644 src/broadcom/cle/v3d_packet_v21.xml
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170629/735add73/attachment-0001.html>


More information about the mesa-dev mailing list