1. 06 May, 2022 1 commit
  2. 06 Apr, 2022 4 commits
    • Arnd Bergmann's avatar
      drm/tegra: vic: Fix unused-function warnings · 42457494
      Arnd Bergmann authored
      The use of the old-style SET_RUNTIME_PM_OPS() and
      SET_SYSTEM_SLEEP_PM_OPS() macros requires function definitions
      to be hidden to avoid
      
      drivers/gpu/drm/tegra/vic.c:326:12: error: 'vic_runtime_suspend' defined but not used [-Werror=unused-function]
        326 | static int vic_runtime_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~
      drivers/gpu/drm/tegra/vic.c:292:12: error: 'vic_runtime_resume' defined but not used [-Werror=unused-function]
        292 | static int vic_runtime_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~
      
      Use the new-style SYSTEM_SLEEP_PM_OPS() and RUNTIME_PM_OPS() instead.
      
      Fixes: 1e15f5b9 ("drm/tegra: vic: Stop channel on suspend")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      42457494
    • Jon Hunter's avatar
      gpu: host1x: Show all allocated syncpts via debugfs · 74bb98dd
      Jon Hunter authored
      When the host1x syncpts status is dumped via the debugfs, syncpts that
      have been allocated but not yet used are not shown and so currently it
      is not possible to see all the allocated syncpts. Update the path for
      dumping the syncpt status via the debugfs to show all allocated syncpts
      even if they have not been used yet. Note that when the syncpt status
      is dumped by the kernel itself for debugging only the active syncpt are
      shown.
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      74bb98dd
    • Thierry Reding's avatar
      gpu: host1x: Do not use mapping cache for job submissions · 3e9c4584
      Thierry Reding authored
      Buffer mappings used in job submissions are usually small and not
      rapidly reused as opposed to framebuffers (which are usually large and
      rapidly reused, for example when page-flipping between double-buffered
      framebuffers). Avoid going through the mapping cache for these buffers
      since the cache would also lead to leaks if nobody is ever releasing
      the cache's last reference. For DRM/KMS these last references are
      dropped when the framebuffers are removed and therefore no longer
      needed.
      
      While at it, also add a note about the need to explicitly remove the
      final reference to the mapping in the cache.
      Reviewed-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Tested-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      3e9c4584
    • Randy Dunlap's avatar
      gpu: host1x: Fix a kernel-doc warning · fe696ccb
      Randy Dunlap authored
      Add @cache description to eliminate a kernel-doc warning.
      
      include/linux/host1x.h:104: warning: Function parameter or member 'cache' not described in 'host1x_client'
      
      Fixes: 1f39b1df ("drm/tegra: Implement buffer object cache")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: linux-tegra@vger.kernel.org
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      fe696ccb
  3. 03 Apr, 2022 8 commits
  4. 02 Apr, 2022 27 commits