lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.16 0297/1039] gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
    Date
    From: Arnd Bergmann <arnd@arndb.de>

    [ Upstream commit 6c7a388b62366f0de9936db3c1921d7f4e0011bc ]

    Linking fails when dma-buf is disabled:

    ld.lld: error: undefined symbol: dma_fence_release
    >>> referenced by fence.c
    >>> gpu/host1x/fence.o:(host1x_syncpt_fence_enable_signaling) in archive drivers/built-in.a
    >>> referenced by fence.c
    >>> gpu/host1x/fence.o:(host1x_fence_signal) in archive drivers/built-in.a
    >>> referenced by fence.c
    >>> gpu/host1x/fence.o:(do_fence_timeout) in archive drivers/built-in.a

    Fixes: 687db2207b1b ("gpu: host1x: Add DMA fence implementation")
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/gpu/host1x/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/host1x/Kconfig b/drivers/gpu/host1x/Kconfig
    index 6dab94adf25e5..6815b4db17c1b 100644
    --- a/drivers/gpu/host1x/Kconfig
    +++ b/drivers/gpu/host1x/Kconfig
    @@ -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.
    --
    2.34.1


    \
     
     \ /
      Last update: 2022-01-24 23:09    [W:2.700 / U:0.960 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site