gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
PATCH 1/1 gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
From: Arnd Bergmann <[email protected]>
Linking fails when dma-buf is disabled:
ld.lld: error: undefined symbol: dma_fence_release
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
referenced by
fence.c
gpu/host1x/fence.o:(host1x_syncpt_fence_enable_signaling) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(host1x_fence_signal) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(do_fence_timeout) in archivedrivers/built-in.a
--- drivers/gpu/host1x/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/host1x/Kconfig +1 -0
@@ -2,6 +2,7 @@ config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" depends on ARCH_TEGRA || (ARM && COMPILE_TEST) + select DMA_SHARED_BUFFER select IOMMU_IOVA help Driver for the NVIDIA Tegra host1x hardware.
Signature · 1 line
2.29.2
Quoted 24 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Linking fails when dma-buf is disabled:
ld.lld: error: undefined symbol:
dma_fence_releaseQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
referenced by
fence.c
gpu/host1x/fence.o:(host1x_syncpt_fence_enable_signaling) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(host1x_fence_signal) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(do_fence_timeout) in archivedrivers/built-in.aFixes 687db2207b1b ("gpu: host1x: Add DMA fence implementation")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/gpu/host1x/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/host1x/Kconfig +0
-0
drivers/gpu/host1x/Kconfig line 8
Quoted 7 lines
drivers/gpu/host1x/Kconfig +1
-0@@ -2,6 +2,7 @@ config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" depends on ARCH_TEGRA || (ARM && COMPILE_TEST) + select DMA_SHARED_BUFFER select IOMMU_IOVA help Driver for the NVIDIA Tegra host1x hardware.
Thanks!
Thierry Reding
AppliedQuoted 12 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Linking fails when dma-buf is disabled:
ld.lld: error: undefined symbol:
dma_fence_releaseQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
referenced by
fence.c
gpu/host1x/fence.o:(host1x_syncpt_fence_enable_signaling) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(host1x_fence_signal) in archivedrivers/built-in.a
referenced byfence.c
gpu/host1x/fence.o:(do_fence_timeout) in archivedrivers/built-in.a
Quoted 5 lines
Fixes 687db2207b1b ("gpu: host1x: Add DMA fence implementation")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/gpu/host1x/Kconfig | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Thierry