On Wednesday, June 28, 2017 11:18:40 AM PDT Eric Anholt 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.
> 
>  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

Neat!  I think it would be nice to standardize on a schema for the XML
files, if only so things stay a bit more familiar across drivers.  It
might allow us to share some tools too...but I'm not sure how realistic
that is, either.  We can always do that later.

You should rip off the INTEL_DEBUG=bat code as well. :)

Acked-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to