1. 11 Sep, 2019 1 commit
  2. 21 Aug, 2019 1 commit
  3. 20 Aug, 2019 1 commit
  4. 08 Aug, 2019 1 commit
  5. 18 Jun, 2019 1 commit
  6. 05 Jun, 2019 1 commit
  7. 14 May, 2019 2 commits
  8. 09 May, 2019 1 commit
    • Chris Wilson's avatar
      drm-uapi: Update i915_drm.h for I915_CONTEXT_PARAM_RECOVERABLE · 8b7e19db
      Chris Wilson authored
      Pull i915_drm.h to include
      kernel commit ba4fda620a5f7db521aa9e0262cf49854c1b1d9c
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Mon Feb 18 10:58:21 2019 +0000
          drm/i915: Optionally disable automatic recovery after a GPU reset
      for improved resilience in handling GPU hangs.
  9. 11 Apr, 2019 1 commit
  10. 14 Mar, 2019 1 commit
  11. 13 Mar, 2019 1 commit
  12. 10 Mar, 2019 1 commit
    • Tomeu Vizoso's avatar
      panfrost: Add backend targeting the DRM driver · 756f7b99
      Tomeu Vizoso authored
      This backend interacts with the new DRM driver for Midgard GPUs which is
      currently in development.
      When using this backend, Panfrost has roughly on-par functionality as
      when using the non-DRM driver from Arm.
      Alyssa Rosenzweig: To do so, we implement additional routines for
      runtime GPU version detection and fencing. We cleanup some duplicate
      code interfering with the new driver. We fix a long-standing memory leak
      which is aggravated on the new driver. Finally, we implement BO
      import/export in a way compatible with the new driver. These changes are
      squashed to preserve bisectability given the hard-to-track ABI shifts in
      the nondrm module
      Signed-off-by: Tomeu Vizoso's avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
      Reviewed-by: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
  13. 26 Feb, 2019 1 commit
  14. 14 Feb, 2019 1 commit
  15. 22 Jan, 2019 1 commit
  16. 08 Dec, 2018 1 commit
  17. 18 Jul, 2018 1 commit
  18. 17 May, 2018 1 commit
  19. 16 May, 2018 1 commit
  20. 22 Mar, 2018 1 commit
  21. 09 Mar, 2018 3 commits
    • Thierry Reding's avatar
      tegra: Initial support · 1755f608
      Thierry Reding authored
      Tegra K1 and later use a GPU that can be driven by the Nouveau driver.
      But the GPU is a pure render node and has no display engine, hence the
      scanout needs to happen on the Tegra display hardware. The GPU and the
      display engine each have a separate DRM device node exposed by the
      To make the setup appear as a single device, this driver instantiates
      a Nouveau screen with each instance of a Tegra screen and forwards GPU
      requests to the Nouveau screen. For purposes of scanout it will import
      buffers created on the GPU into the display driver. Handles that
      userspace requests are those of the display driver so that they can be
      used to create framebuffers.
      This has been tested with some GBM test programs, as well as kmscube and
      weston. All of those run without modifications, but I'm sure there is a
      lot that can be improved.
      Some fixes contributed by Hector Martin <marcan@marcan.st>.
      Changes in v2:
      - duplicate file descriptor in winsys to avoid potential issues
      - require nouveau when building the tegra driver
      - check for nouveau driver name on render node
      - remove unneeded dependency on libdrm_tegra
      - remove zombie references to libudev
      - add missing headers to C_SOURCES variable
      - drop unneeded tegra/ prefix for includes
      - open device files with O_CLOEXEC
      - update copyrights
      Changes in v3:
      - properly unwrap resources in ->resource_copy_region()
      - support vertex buffers passed by user pointer
      - allocate custom stream and const uploader
      - silence error message on pre-Tegra124
      - support X without explicit PRIME
      Changes in v4:
      - ship Meson build files in distribution tarball
      - drop duplicate driver_tegra dependency
      Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Tested-by: default avatarAndre Heider <a.heider@gmail.com>
      Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Reviewed-by: default avatarDylan Baker <dylan@pnwbakers.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    • Thierry Reding's avatar
      drm/tegra: Sanitize format modifiers · 75bf4896
      Thierry Reding authored
      The existing format modifier definitions were merged prematurely, and
      recent work has unveiled that the definitions are suboptimal in several
        - The format specifiers, except for one, are not Tegra specific, but
          the names don't reflect that.
        - The number space is split into two, reserving 32 bits for some
          "parameter" which most of the modifiers are not going to have.
        - Symbolic names for the modifiers are not using the standard
          DRM_FORMAT_MOD_* prefix, which makes them awkward to use.
        - The vendor prefix NV is somewhat ambiguous.
      Fortunately, nobody's started using these modifiers, so we can still fix
      the above issues. Do so by using the standard prefix. Also, remove TEGRA
      from the name of those modifiers that exist on NVIDIA GPUs as well. In
      case of the block linear modifiers, make the "parameter" smaller (4
      bits, though only 6 values are valid) and don't let that leak into any
      of the other modifiers.
      Finally, also use the more canonical NVIDIA instead of the ambiguous NV
      This is based on commit 268892cb63a822315921a8dab48ac3e4abf7dd03 from
      Linux v4.16-rc1.
      Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Tested-by: default avatarAndre Heider <a.heider@gmail.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    • Thierry Reding's avatar
      drm/fourcc: Fix fourcc_mod_code() definition · ffc85cfa
      Thierry Reding authored
      Avoid a compiler warnings when the val parameter is an expression.
      This is based on commit 5843f4e02fbe86a59981e35adc6cabebee46fdc0 from
      Linux v4.16-rc1.
      Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Tested-by: default avatarAndre Heider <a.heider@gmail.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
  22. 05 Mar, 2018 1 commit
  23. 04 Dec, 2017 1 commit
  24. 09 Nov, 2017 1 commit
  25. 20 Oct, 2017 1 commit
  26. 11 Oct, 2017 1 commit
  27. 29 Aug, 2017 1 commit
  28. 16 Aug, 2017 1 commit
  29. 14 Aug, 2017 1 commit
  30. 12 Jul, 2017 2 commits