1. 07 Feb, 2019 2 commits
  2. 04 Feb, 2019 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Set up stream ID table · 6841482b
      Thierry Reding authored
      In order to enable the MMIO path stream ID protection provided by the
      incarnation of host1x found in Tegra186 and later, the host1x must be
      provided with the list of stream ID register offsets for each of its
      clients. Some clients (such as VIC) have multiple stream ID registers
      that are assumed to be contiguous. The host1x is programmed with the
      base offset and a limit which provide the range of registers that the
      host1x needs to monitor for writes.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      6841482b
  3. 29 Nov, 2018 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Add Tegra194 support · ac1bdbf2
      Thierry Reding authored
      The host1x hardware found on Tegra194 is mostly backwards compatible
      with the version found on Tegra186, with the notable exceptions of the
      increased number of syncpoints and mlocks. In addition, some rarely
      used features such as syncpoint wait bases were dropped and some
      registers had to move around to accomodate the increased number of
      syncpoints.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      ac1bdbf2
  4. 26 Sep, 2018 1 commit
  5. 09 Jul, 2018 1 commit
  6. 17 May, 2018 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Acquire a reference to the IOVA cache · f40e1590
      Thierry Reding authored
      The IOVA API uses a memory cache to allocate IOVA nodes from. To make
      sure that this cache is available, obtain a reference to it and release
      the reference when the cache is no longer needed.
      
      On 64-bit ARM this is hidden by the fact that the DMA mapping API gets
      that reference and never releases it. On 32-bit ARM, this is papered
      over by the Tegra DRM driver (the sole user of the host1x API requiring
      the cache) acquiring a reference to the IOVA cache for its own purposes.
      However, there may be additional users of this API in the future, so fix
      this upfront to avoid surprises.
      
      Fixes: 404bfb78 ("gpu: host1x: Add IOMMU support")
      Reviewed-by: Dmitry Osipenko's avatarDmitry Osipenko <digetx@gmail.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      f40e1590
  7. 21 Dec, 2017 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Use IOMMU groups · 41c3068c
      Thierry Reding authored
      Use IOMMU groups to attach the host1x device to its IOMMU domain. This
      is not strictly necessary because the domain isn't shared with any other
      device, but it makes the code consistent with how IOMMU is handled in
      other drivers and provides an easy way to detect when no IOMMU has been
      attached via device tree.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      41c3068c
  8. 13 Dec, 2017 1 commit
  9. 20 Oct, 2017 2 commits
  10. 27 Sep, 2017 1 commit
  11. 17 Aug, 2017 1 commit
  12. 27 Jul, 2017 1 commit
  13. 15 Jun, 2017 2 commits
  14. 05 Apr, 2017 3 commits
  15. 23 Jun, 2016 2 commits
  16. 04 Mar, 2016 1 commit
  17. 14 Dec, 2015 2 commits
  18. 27 Jan, 2015 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Provide a proper struct bus_type · f4c5cf88
      Thierry Reding authored
      Previously the struct bus_type exported by the host1x infrastructure was
      only a very basic skeleton. Turn that implementation into a more full-
      fledged bus to support proper probe ordering and power management.
      
      Note that the bus infrastructure needs to be available before any of the
      drivers can be registered. This is automatically ensured if all drivers
      are built as loadable modules (via symbol dependencies). If all drivers
      are built-in there are no such guarantees and the link order determines
      the initcall ordering. Adjust drivers/gpu/Makefile to make sure that the
      host1x bus infrastructure is initialized prior to any of its users (only
      drm/tegra currently).
      
      v2: Fix building host1x and tegra-drm as modules
      Reported-by: default avatarDave Airlie <airlied@gmail.com>
      Reviewed-by: Sean Paul's avatarSean Paul <seanpaul@chromium.org>
      Reviewed-by: default avatarMark Zhang <markz@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      f4c5cf88
  19. 19 Dec, 2013 2 commits
  20. 31 Oct, 2013 5 commits
  21. 03 Sep, 2013 1 commit
  22. 22 Apr, 2013 6 commits