1. 31 Oct, 2018 1 commit
  2. 24 Oct, 2018 1 commit
  3. 23 Oct, 2018 1 commit
    • D Scott Phillips's avatar
      i965/tiled_memcpy: inline movntdqa loads in tiled_to_linear · 11b1afdc
      D Scott Phillips authored
      The reference for MOVNTDQA says:
      
          For WC memory type, the nontemporal hint may be implemented by
          loading a temporary internal buffer with the equivalent of an
          aligned cache line without filling this data to the cache.
          [...] Subsequent MOVNTDQA reads to unread portions of the WC
          cache line will receive data from the temporary internal
          buffer if data is available.
      
      This hidden cache line sized temporary buffer can improve the
      read performance from wc maps.
      
      v2: Add mfence at start of tiled_to_linear for streaming loads (Chris)
      v3: add Android build support (Tapani)
      v4: squash 'fix i915: Fix streaming loads for intel_tiled_memcpy'
          separate sse41 to own static library (Tapani)
      
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v2)
      Reviewed-by: Matt Turner <mattst88@gmail.com> (v2)
      Acked-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
      Signed-off-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
      11b1afdc
  4. 07 Sep, 2018 1 commit
  5. 24 Aug, 2018 1 commit
  6. 23 Aug, 2018 1 commit
  7. 26 May, 2018 1 commit
  8. 25 May, 2018 1 commit
  9. 20 Mar, 2018 3 commits
    • Lionel Landwerlin's avatar
      i965: fix out of tree autotools build · 5770e1d8
      Lionel Landwerlin authored
      Fixes: 2d2b15fb ("i965: fix autotools/android build")
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: Mathias Fröhlich's avatarMathias Fröhlich <mathias.froehlich@web.de>
      5770e1d8
    • Lionel Landwerlin's avatar
      i965: fix autotools/android build · 2d2b15fb
      Lionel Landwerlin authored
      Autotools/android builds generate the header & code files in 2 steps,
      but the code generation requires the name of the header file to
      include it.
      
      This change generates both files in one command.
      
      Fixes: 035cc7a1 ("i965: perf: reduce i965 binary size")
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Reviewed-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
      Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      2d2b15fb
    • Lionel Landwerlin's avatar
      i965: perf: reduce i965 binary size · 035cc7a1
      Lionel Landwerlin authored
      Performance metric numbers are calculated the following way :
      
         - out of the 256 bytes long OA reports, we accumulate the deltas
           into an array of uint64_t
      
         - the equations' generated code reads the accumulated uint64_t
           deltas and normalizes them for a particular platform
      
      Our hardware is such that a number of counters in the OA reports
      always return the same values (i.e. they're not programmable), and
      they return the same values even across generations, and as a result a
      number of equations are identical in different metric sets across
      different generations.
      
      Up to now we've kept the generated code of the equations separated in
      different files (per generation/GT), and didn't apply any
      factorization of the common equations. We could have make some
      improvement by reusing equations within a given metrics file, but we
      can go even further and reuse across generations (i.e. all files).
      
      This change changes the code generation to emit a single file in which
      we reuse equations emitted code based on the hash of equations'
      strings.
      
      Here are the savings in a meson build :
      
      Before(.old)/after :
         $ du -h ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so ./build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
         43M	./build/src/mesa/drivers/dri/libmesa_dri_drivers.so
         47M	./build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
      
         $ size build/src/mesa/drivers/dri/libmesa_dri_drivers.so build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
             text   data          bss	     dec            hex filename
         13054002 409424	 671856	14135282	 d7aff2	build/src/mesa/drivers/dri/libmesa_dri_drivers.so
         14550386 409552	 671856	15631794	 ee85b2	build/src/mesa/drivers/dri/libmesa_dri_drivers.so.old
      
      As a side comment here is the size of the drivers if we remove all of
      the metrics from the build :
      
         $ du -sh build/src/mesa/drivers/dri/libmesa_dri_drivers.so
         40M	build/src/mesa/drivers/dri/libmesa_dri_drivers.so
      
      v2: Fix an issue with hashing of counter equations (Lionel)
          Build system rework (Emil)
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (build system part)
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      035cc7a1
  10. 05 Mar, 2018 1 commit
  11. 16 Feb, 2018 1 commit
  12. 25 Jan, 2018 1 commit
  13. 20 Jan, 2018 1 commit
  14. 28 Nov, 2017 2 commits
  15. 29 Aug, 2017 1 commit
  16. 31 Jul, 2017 1 commit
  17. 15 Jul, 2017 1 commit
  18. 14 Jul, 2017 1 commit
  19. 12 Jul, 2017 1 commit
    • Eric Anholt's avatar
      intel: Move the DRM uapi headers to a non-Intel location. · 5d6271c6
      Eric Anholt authored
      I want to remove vc4's dependency on headers from libdrm as well, but
      storing multiple copies of drm_fourcc.h in our tree would be silly.
      
      v2: Update Android.mk as well, move distcheck drm*.h references to
          top-level noinst_HEADERS.
      
      Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1)
      Reviewed-by: Daniel Stone <daniels@collabora.com> (v1)
      Reviewed-by: Rob Herring's avatarRob Herring <robh@kernel.org>
      5d6271c6
  20. 27 Jun, 2017 5 commits
  21. 15 Jun, 2017 1 commit
  22. 12 Jun, 2017 1 commit
  23. 09 Jun, 2017 1 commit
  24. 04 May, 2017 1 commit
  25. 10 Apr, 2017 1 commit
  26. 16 Mar, 2017 2 commits
  27. 13 Mar, 2017 1 commit
    • Jason Ekstrand's avatar
      i965: Move the back-end compiler to src/intel/compiler · 700bebb9
      Jason Ekstrand authored
      Mostly a dummy git mv with a couple of noticable parts:
       - With the earlier header cleanups, nothing in src/intel depends
      files from src/mesa/drivers/dri/i965/
       - Both Autoconf and Android builds are addressed. Thanks to Mauro and
      Tapani for the fixups in the latter
       - brw_util.[ch] is not really compiler specific, so it's moved to i965.
      
      v2:
       - move brw_eu_defines.h instead of brw_defines.h
       - remove no-longer applicable includes
       - add missing vulkan/ prefix in the Android build (thanks Tapani)
      
      v3:
       - don't list brw_defines.h in src/intel/Makefile.sources (Jason)
       - rebase on top of the oa patches
      
      [Emil Velikov: commit message, various small fixes througout]
      Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      700bebb9
  28. 09 Mar, 2017 1 commit
  29. 02 Mar, 2017 1 commit
  30. 27 Jan, 2017 3 commits