1. 23 Jan, 2020 2 commits
  2. 02 Dec, 2019 1 commit
    • Kenneth Graunke's avatar
      meson: Add a "prefer_iris" build option · dbe923bf
      Kenneth Graunke authored
      Enabling this option makes Intel Gen8-11 hardware load the 'iris'
      driver by default instead of the older 'i965' driver.
      Regardless of how this option is set, users can still override which
      driver the loader selects via two methods.  The first is to create a
      ~/.drirc or /etc/drirc file with the following snippet:
           <device driver="loader" kernel_driver="i915">
             <option name="dri_driver" value="i965" />
      The other option is to set an environment variable:
         export MESA_LOADER_DRIVER_OVERRIDE=i965
      For now, "prefer_iris" defaults to i965 (the historical choice).
      A separate future patch will change the default driver to iris.
      Closes: mesa/mesa#1893
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
      Reviewed-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
      Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
  3. 11 Nov, 2019 1 commit
    • Dylan Baker's avatar
      util: Use ZSTD for shader cache if possible · a8d94109
      Dylan Baker authored
      This allows ZSTD instead of ZLIB to be used for compressing the shader
      On a 72 core system emulating skl with a full shader-db (with i965):
          1915.10s user 229.27s system 5150% cpu 41.632 total (cold cache)
          225.40s user 10.87s system 3810% cpu 6.201 total (warm cache)
          154M (235M on disk)
          2231.33s user 194.24s system 1899% cpu 2:07.72 total (cold cache)
          229.15s user 10.63s system 3906% cpu 6.139 total (warm cache)
          163M (244M on disk)
      Tim Arceri sees (8 core ryzen and a full shader-db):
          2505.22 user 40.50 system 3:18.73 elapsed 1280% CPU (cold cache)
          418.71 user 14.93 system 0:46.53 elapsed 931% CPU (warm cache)
          454.3 MB (681.7 MB on disk)
          3069.83 user 40.02 system 4:20.13 elapsed 1195% CPU (cold cache)
          425.50 user 15.17 system 0:46.80 elapsed 941% CPU (warm cache)
          470.3 MB (701.4 MB on disk)
      Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
      Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
  4. 28 Oct, 2019 1 commit
  5. 21 Sep, 2019 1 commit
    • Pierre Moreau's avatar
      meson: Check for SPIRV-Tools and llvm-spirv · 866f6f11
      Pierre Moreau authored and Karol Herbst's avatar Karol Herbst committed
      Changes since:
      * v12 (Karol Herbst):
      * v11 (Karol Herbst):
        - only set new defines for clover to speed up recompilation
        - remove autotools
      * v10:
        - Add a new flag (`--enable-opencl-spirv` for autotools, and
          `-Dopencl-spirv=true` for meson) for enabling SPIR-V support in
          clover, and never automagically enable it without that flag. (Dylan Baker)
        - When enabling the SPIR-V support, the SPIRV-Tools and
          SPIRV-LLVM-Translator libraries are now required dependencies.
      * v7:
        - Properly align LLVMSPIRVLib comment (Dylan Baker)
        - Only define CLOVER_ALLOW_SPIRV when **both** dependencies are found:
          autotools was only requiring one or the other.
      * v6: Replace the llvm-spirv repository by the new official
      * v4: Add a comment saying where to find llvm-spirv (Karol Herbst).
      * v3:
        - make SPIRV-Tools and llvm-spirv optional (Francisco Jerez);
        - bump requirement for llvm-spirv to version 0.2
      * v2:
        - Bump the required version of SPIRV-Tools to the latest release;
        - Add a dependency on llvm-spirv.
      Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (v10)
      Reviewed-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
      Reviewed-by: Francisco Jerez's avatarFrancisco Jerez <currojerez@riseup.net>
  6. 10 Sep, 2019 2 commits
  7. 25 Jul, 2019 1 commit
    • Emma Anholt's avatar
      v3d: Introduce a DRM shim for calling out to the simulator. · 82bf1979
      Emma Anholt authored
      The goal is to enable testing of parts of drivers without depending on any
      particular kernel version or hardware being present.
      Simply set LD_PRELOAD=$PREFIX/lib/libv3d_drm_shim.so in your environment,
      and we'll fake a /dev/dri/renderD128 (or whatever the next available node
      is) using v3dv3.  That node can then be used with the surfaceless or gbm
      EGL platforms.
      Acked-by: Iago Toral's avatarIago Toral Quiroga <itoral@igalia.com>
  8. 18 Jul, 2019 1 commit
  9. 01 Jul, 2019 1 commit
  10. 03 May, 2019 2 commits
  11. 11 Apr, 2019 2 commits
  12. 21 Mar, 2019 2 commits
  13. 11 Mar, 2019 2 commits
    • Chia-I Wu's avatar
      turnip: guard -Dvulkan-driver=freedreno · 4f863dc0
      Chia-I Wu authored
      Require -DI-love-half-baked-turnips=true as well to enable freedreno
      vulkan driver.
    • Bas Nieuwenhuizen's avatar
      turnip: Add driver skeleton (v2) · 26380b3a
      Bas Nieuwenhuizen authored and Chia-I Wu's avatar Chia-I Wu committed
      meson files have been updated, autotools and android still need
      Only build tested.
      v2 (chadv):
        - Rebase onto master.
        - Fix build breakage in Python scripts.
        - Drop the WSI code. The internal WSI apis have changed recently, and
          will likely change again before the driver goes upstream. To avoid
          unnecessary rebase work, let's drop the WSI code and re-add it when
          we're ready to really use WSI.
      (olv, after rebase) do not enable freedreno by default on ARM
  14. 21 Feb, 2019 2 commits
  15. 05 Feb, 2019 1 commit
  16. 28 Jan, 2019 2 commits
  17. 18 Dec, 2018 2 commits
  18. 30 Oct, 2018 1 commit
  19. 23 Oct, 2018 1 commit
  20. 20 Sep, 2018 1 commit
  21. 22 Aug, 2018 1 commit
    • Lionel Landwerlin's avatar
      intel: tools: import ImGui · ea83a1d3
      Lionel Landwerlin authored
      We want to add a new UI tool to decode aub files. This will use the
      Dear ImGui library to render its interface. The build of this UI
      toolkit is conditional to -Dwith_tools=intel-ui which superseeds
      The main way to use ImGui is to embed its source code at a particular
      revision. Most embedding projects have to do a bit of integration
      which is really specific to one's project. In our case the only
      modification is to include libepoxy. We also choose to use Gtk+3 for
      the window system integration. As oppose to the previous previous
      version of this patch using GLFW, Gtk+ is able to handle X11/Wayland
      session as well as property DPI scaling on retina monitors.
      The import was done at this commit (https://github.com/ocornut/imgui
      ) :
      commit 6211f40f3d903dd9df961256e044029c49793aa3
      Author: omar <omarcornut@gmail.com>
      Date:   Fri Jul 27 12:29:33 2018 +0200
          Internals: Drag and Drop: default drop preview use a narrower clipping rectangle (no effect here, but other branches uses a narrow clipping rectangle that was too small so this is a fix for it) + Comments
      v2: Switch from GLFW to GTK+ (Lionel)
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Acked-by: Rafael Antognolli's avatarRafael Antognolli <rafael.antognolli@intel.com>
  22. 13 Jul, 2018 1 commit
  23. 19 Jun, 2018 1 commit
    • Keith Packard's avatar
      vulkan: Add EXT_acquire_xlib_display [v5] · 7ab1fffc
      Keith Packard authored
      This extension adds the ability to borrow an X RandR output for
      temporary use directly by a Vulkan application. For DRM, we use the
      Linux resource leasing mechanism.
      	Clean up xlib_lease detection
      	* Use separate temporary '_xlib_lease' variable to hold the
      	  option value to avoid changin the type of a variable.
      	* Use boolean expressions instead of additional if statements
      	  to compute resulting with_xlib_lease value.
      	* Simplify addition of VK_USE_PLATFORM_XLIB_XRANDR_KHR to
      Suggested-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
      	Move mode list from wsi_display to wsi_display_connector
      	Fix scope for wsi_display_mode and wsi_display_connector allocs
      Suggested-by: Faith Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      	Adopt Jason Ekstrand's coding conventions
      	Declare variables at first use, eliminate extra whitespace
      	between types and names. Wrap lines to 80 columns.
      	Explicitly forbid multiple DRM leases. Making the code support
      	this looks tricky and will require additional thought.
      	Use xcb_randr_output_t throughout the internals of the
      	implementation. Convert at the public API
      	Clean up check for usable active_crtc (possible when only the
      	desired output is connected to the crtc).
      Suggested-by: Faith Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      	Move output resource fetching closer to use in
      	wsi_display_get_output. This simplifies the error returns in
      	earlier parts of the code a bit.
      	wsi_acquire_xlib_display. Jason says this is the right error
      Suggested-by: Faith Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      	randr doesn't pass vscan over the wire, so we set vscan to 0
      	for randr-acquired modes, and test wsi modes for vscan <= 1
      	when comparing against randr modes.
      Suggested-by: Faith Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Faith Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
  24. 17 Jun, 2018 1 commit
  25. 13 Jun, 2018 1 commit
  26. 07 Jun, 2018 1 commit
  27. 16 May, 2018 1 commit
  28. 24 Apr, 2018 1 commit
  29. 07 Mar, 2018 1 commit
    • Dylan Baker's avatar
      meson: Re-add auto option for omx · 34e852d5
      Dylan Baker authored
      This re-adds the auto option for omx, without it we default to tizonia
      and the build fails almost immediately, this is especially obnoxious
      those building a driver that doesn't support the OMX state tracker to
      begin with.
      v2: - Only define OMX_FOO for auto cases if the dependencies are found.
            This fixes building tizonia with auto (Julien, Eric)
      CC: Gurkirpal Singh <gurkirpal204@gmail.com>
      Fixes: bb5e27fa
             ("st/omx/bellagio: Rename st and target directories")
      Signed-off-by: Dylan Baker's avatarDylan Baker <dylan.c.baker@intel.com>
      Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk> (v1)
      Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
      Tested-by: Julien Isorce's avatarJulien Isorce <julien.isorce@gmail.com>
      Tested-by: Karol Herbst <kherbst@redhat.com> (v1)
  30. 06 Mar, 2018 2 commits