1. 01 Mar, 2021 1 commit
    • Alyssa Rosenzweig's avatar
      panfrost/lcra: Fix constraint counting · 4f969d79
      Alyssa Rosenzweig authored
      We need to iterate the whole row, we can't be clever and only look at
      one side, the symmetry doesn't work like that. See the original paper.
      
      total instructions in shared programs: 69392 -> 69322 (-0.10%)
      instructions in affected programs: 9002 -> 8932 (-0.78%)
      helped: 82
      HURT: 28
      Instructions are helped.
      
      total bundles in shared programs: 32225 -> 32155 (-0.22%)
      bundles in affected programs: 4286 -> 4216 (-1.63%)
      helped: 82
      HURT: 28
      Bundles are helped.
      
      total quadwords in shared programs: 56102 -> 56102 (0.00%)
      quadwords in affected programs: 0 -> 0
      helped: 0
      HURT: 0
      
      total registers in shared programs: 4552 -> 4572 (0.44%)
      registers in affected programs: 298 -> 318 (6.71%)
      helped: 18
      HURT: 38
      Registers are HURT.
      
      total threads in shared programs: 3772 -> 3775 (0.08%)
      threads in affected programs: 84 -> 87 (3.57%)
      helped: 15
      HURT: 14
      Inconclusive result (value mean confidence interval includes 0).
      
      total spills in shared programs: 0 -> 0
      spills in affected programs: 0 -> 0
      helped: 0
      HURT: 0
      
      total fills in shared programs: 0 -> 0
      fills in affected programs: 0 -> 0
      helped: 0
      HURT: 0
      
      Fixes: 66ad64d7 ("pan/midgard: Implement linearly-constrained register allocation")
      Signed-off-by: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
      Part-of: <mesa/mesa!9338>
      4f969d79
  2. 25 Feb, 2021 1 commit
    • maurossi's avatar
      android: pan/bi: reorder static dependencies in gallium/dri · 97b7786e
      maurossi authored
      libpanfrost_lib depends on libpanfrost_bifrost for 'bifrost_compile_shader_nir' symbol
      libpanfrost_lib depends on libpanfrost_bifrost_disasm for 'disassemble_bifrost' symbol
      LOCAL_STATIC_LIBRARIES requires proper ordering to make the symbols available
      
      Fixes the following building error happening with Android P:
      
      FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
      external/mesa/src/panfrost/lib/decode.c:534: error: undefined reference to 'disassemble_bifrost'
      external/mesa/src/panfrost/lib/pan_shader.c:145: error: undefined reference to 'bifrost_compile_shader_nir'
      
      Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
      Fixes: 166630f7 ("android: pan/bi: Separate disasm/compiler targets")
      Acked-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Part-of: <!9265>
      97b7786e
  3. 22 Feb, 2021 12 commits
  4. 18 Feb, 2021 17 commits
  5. 15 Feb, 2021 9 commits