1. 12 Aug, 2020 4 commits
  2. 05 Aug, 2020 2 commits
  3. 04 Aug, 2020 7 commits
    • Eric Anholt's avatar
      freedreno: Fix "Offset of packed bitfield changed" warnings: · 05fc1acb
      Eric Anholt authored
      Sync from mesa commit 66d8bbd822914f27814d05d2d21196072f41284b
      
      Example:
      
      ../src/freedreno/ir2/instr-a2xx.h:384:1: note: offset of packed bit-field
      ‘const_index’ has changed in GCC 4.4
        384 | } instr_fetch_vtx_t;
      
      It's apparently due to bitfields that would cross the width of their type.
      Just expand the types of the affected fields so that the compiler quiets
      down.
      
      Part-of: <mesa/mesa!6165>
      05fc1acb
    • Jonathan Marek's avatar
      turnip: workaround for a630 d24_unorm_s8_uint fails · 07e6b53c
      Jonathan Marek authored
      Sync from mesa commit 5afaec3741384da0702d3bf75aebd0af6fd07d8b
      
      A630 doesn't have the HW format we use to sample stencil, so it needs a
      workaround. It also has a bug around the AS_R8G8B8A8 format, which doesn't
      work when UBWC is disabled, so use 8_8_8_8_UNORM instead when UBWC is
      disabled (using AS_R8G8B8A8 or 8_8_8_8_UNORM should only matter with UBWC)
      Signed-off-by: Jonathan Marek's avatarJonathan Marek <jonathan@marek.ca>
      Part-of: <mesa/mesa!5438>
      07e6b53c
    • Rob Clark's avatar
      freedreno/registers: install gzip'd register database · c90041fb
      Rob Clark authored
      Semi-manual Sync from mesa commit 9c33c5389818bc5035eb4538ea5d3fc1321dd27e
      
      The decode tools aren't too useful to install without the xml.  But
      since libxml2 can read compressed xml, we'll gzip them for installation.
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <mesa/mesa!6154>
      c90041fb
    • Rob Clark's avatar
      freedreno/registers: split header build into subdirs · a8a2937a
      Rob Clark authored
      Sync from mesa commit 62ebd342e67fc0c12b181f91a488fa7a834fff6c
      
      Instead of building the adreno/foo.xml headers from the toplevel, split
      out a subdir().  This fits better with how meson likes things to be
      structured.  But it does require fixing a bit about how gen_header.py
      resolves imports, ie. it cannot assume the src file is at the root of
      the $RNN_PATH.
      
      This is needed for the next patch, to add support for installing the
      register database for use with installed tools.
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <mesa/mesa!6154>
      a8a2937a
    • Rob Clark's avatar
      freedreno/registers: add .gitignore · 39bb431b
      Rob Clark authored
      Sync from mesa commit e59b24121357f33f17519b9e90b46928ade0a290
      
      Testing headergen2 will create .xml.h in the same location as the .xml.
      But we don't want this to get accidentially committed.
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <mesa/mesa!6154>
      39bb431b
    • Rob Clark's avatar
      freedreno/rnn: rework RNN_DEF_PATH construction · f49af35d
      Rob Clark authored
      Semi-manual sync from mesa commit 24f55eb6e808cab74ff21aa809742dc644c5c900
      
      No need for rnn_path.h, just construct the whole thing in meson and pass
      via c_args.  Also move where the path is constructed up one level.  This
      will be needed for syncing back to envytools, where the path will be
      different.
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <mesa/mesa!6154>
      f49af35d
    • Rob Clark's avatar
      freedreno/rnn: also look for .xml.gz · 746c604c
      Rob Clark authored
      Sync from mesa commit bf425b7e513804c96f4bd7b71d520e334e9450e2
      
      libxml2 can load gzip compressed files, so lets look for these too.
      This will be useful for installing the register database so that an
      installed cffdump/crashdec can use them.  But it isn't too useful
      to be able to edit the installed register database, so we can gzip
      them to use less disk space.
      Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <mesa/mesa!6154>
      746c604c
  4. 03 Aug, 2020 27 commits