1. 18 May, 2017 2 commits
    • Arnd Bergmann's avatar
      gpu: host1x: select IOMMU_IOVA · 52499a6a
      Arnd Bergmann authored
      When IOMMU_IOVA is not built-in but host1x is, we get a link error:
      
      drivers/gpu/host1x/dev.o: In function `host1x_remove':
      dev.c:(.text.host1x_remove+0x50): undefined reference to `put_iova_domain'
      drivers/gpu/host1x/dev.o: In function `host1x_probe':
      dev.c:(.text.host1x_probe+0x31c): undefined reference to `init_iova_domain'
      dev.c:(.text.host1x_probe+0x38c): undefined reference to `put_iova_domain'
      drivers/gpu/host1x/cdma.o: In function `host1x_cdma_init':
      cdma.c:(.text.host1x_cdma_init+0x238): undefined reference to `alloc_iova'
      cdma.c:(.text.host1x_cdma_init+0x2c0): undefined reference to `__free_iova'
      drivers/gpu/host1x/cdma.o: In function `host1x_cdma_deinit':
      cdma.c:(.text.host1x_cdma_deinit+0xb0): undefined reference to `free_iova'
      
      This adds the same select statement that we have for drm_tegra.
      
      Fixes: 404bfb78 ("gpu: host1x: Add IOMMU support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
      Signed-off-by: Sean Paul's avatarSean Paul <seanpaul@chromium.org>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170419182449.885312-1-arnd@arndb.de
      52499a6a
    • Arnd Bergmann's avatar
      gpu: host1x: select IOMMU_IOVA · b12f601f
      Arnd Bergmann authored
      When IOMMU_IOVA is not built-in but host1x is, we get a link error:
      
      drivers/gpu/host1x/dev.o: In function `host1x_remove':
      dev.c:(.text.host1x_remove+0x50): undefined reference to `put_iova_domain'
      drivers/gpu/host1x/dev.o: In function `host1x_probe':
      dev.c:(.text.host1x_probe+0x31c): undefined reference to `init_iova_domain'
      dev.c:(.text.host1x_probe+0x38c): undefined reference to `put_iova_domain'
      drivers/gpu/host1x/cdma.o: In function `host1x_cdma_init':
      cdma.c:(.text.host1x_cdma_init+0x238): undefined reference to `alloc_iova'
      cdma.c:(.text.host1x_cdma_init+0x2c0): undefined reference to `__free_iova'
      drivers/gpu/host1x/cdma.o: In function `host1x_cdma_deinit':
      cdma.c:(.text.host1x_cdma_deinit+0xb0): undefined reference to `free_iova'
      
      This adds the same select statement that we have for drm_tegra.
      
      Fixes: 404bfb78 ("gpu: host1x: Add IOMMU support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
      Signed-off-by: Sean Paul's avatarSean Paul <seanpaul@chromium.org>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170419182449.885312-1-arnd@arndb.de
      b12f601f
  2. 19 Dec, 2013 1 commit
    • Thierry Reding's avatar
      gpu: host1x: Increase compile test coverage · 6f44c2b5
      Thierry Reding authored
      The ARCH_MULTIPLATFORM dependency was introduced back when Tegra didn't
      support multiplatform yet as a means to allow the driver to be easily
      compile-tested along with other DRM drivers. In the meantime, the new
      COMPILE_TEST Kconfig option has been introduced for exactly that
      purpose, so use that instead to clarify the intention.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      6f44c2b5
  3. 31 Oct, 2013 1 commit
  4. 22 Apr, 2013 3 commits