freedreno: make gen_header.py check parent directory
authorRob Clark <robdclark@chromium.org>
Thu, 23 Jul 2020 22:28:47 +0000 (15:28 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 09:45:08 +0000 (09:45 +0000)
commit7de0842d428cb70237ed069f97919c82602932ee
tree53bf5a0ada896156d76e074c84d72becfeaba36f
parent05b278327066304d8822eb6414a89120c816e14a
freedreno: make gen_header.py check parent directory

With the next commit, the xml files will be no longer be all in the same
directory.  But checking up a single directory level to resolve import
will be sufficient.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>
src/freedreno/registers/gen_header.py