From patchwork Mon Sep 27 09:36:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 514667 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp3937003jao; Mon, 27 Sep 2021 02:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHAUE4CP/DpUU1e5KbS662VnQ/kCtVzGbtMFuoCkIf+a79KhiDngspbfS3blqYh4RwvPzy X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr18219020pji.133.1632735434970; Mon, 27 Sep 2021 02:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632735434; cv=none; d=google.com; s=arc-20160816; b=sFDBhHj3zsWnSi/hizuQVXoTK7yT0sWMMC6F3EbR+R/S8GCDMDAGsyPlyyp2JLJa3U tnnCuro0kOLiJJy6XGcOJpkj090xenVD38JcQAf/GutLyK/QuN1oQY9N9oIq1VESnHBO NpW4Wd3qpgB6lswWjBWYCGOzB7QFMyzu1n7aDiB3NC8cs0U//xk+s3hhp3fioy6C1oz3 9DlYFk1pI1+Sm1+thb09tk2/KduRPts7BF8zHrvXgHY4MSIX/cCHnL6MlGGWk4bsiw1B D+in4Jd8aVAC5Qxjn/oACLgi0CZ2xM1oWeyPE0Q8UWMzrGd2JEyBIKkk0jmyub9gwUiV DhxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :delivered-to; bh=X0LGRDzUoRVb9PzueGcUeQF5NC0F0ozyefWuGNN6xZk=; b=Y8K8TNZFr3sqpzpGN8STwHMbIoXJGWg0410egotib+y+F6LTLH5r3AJ9LEgbq3mZJE SVRY9w+AuUUtk1w21tkLMbHwJCiXmER2D3sfbfaD/HFvz3whkLy7NaY70unm2zmHeqiK b2vZsaKYSRpz6K9mWNPFbPCdOrSLHpKOTrEPk/0L7+XsKzfjPGtcQrkSdpm7r1QqYF6G a9jO2qPFpc8jQW1UEkcy1cPFr26uLGZB4BVeJOgdO/I/DIBgtzLLqPiugtm40Lkzxo+o Lef/CzGKMoKVMofVXkpuPjBganHDpjVbePEZ/uqWpxJ9buddMjI1f64V00y/fbvbAhoP Am+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SH876qjZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a189si22705425pfb.35.2021.09.27.02.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 02:37:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SH876qjZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96D8E89FE8; Mon, 27 Sep 2021 09:37:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E05F89FE8 for ; Mon, 27 Sep 2021 09:37:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 01D8460F70; Mon, 27 Sep 2021 09:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632735429; bh=Zc+cRcPoCslqC2hryc2DSKxFbJzV6gD9X3WZFDKlLi4=; h=From:To:Cc:Subject:Date:From; b=SH876qjZtMQ46iEO1vY1tzTwXYROEpuqYTuZ53cWe80jEfWemAPB1uNXJJwF0IS1G GQQyAAjlHnJh3pVJ3UOPtJZet3G2Bh2v8LSbJYXS/xEAL+JbNThSzR8nX6iVqX9ZI8 klsLSUZeK9JA7DBGSu1y4FtuVcIe4xZ4napE/xvBmBKJdcU4GDEszlA1G7UbMNjHCC R/Seb8lROXKu7wmSAUW9XfIDCSIa1fkRsEluwHpyqnWHWmW1KnhgF4WRB0zGlzjo0E Eg7W4Lu/bdwESjC9aM4g4kIXqLCN/omnofoJD6u5ZrXbgPIO+fpriuh5mxfnbmBo0T bkmHXS6szV/+Q== From: Arnd Bergmann To: Thierry Reding , Mikko Perttunen Cc: Arnd Bergmann , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpu: host1x: select CONFIG_DMA_SHARED_BUFFER Date: Mon, 27 Sep 2021 11:36:59 +0200 Message-Id: <20210927093705.458573-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann 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 --- drivers/gpu/host1x/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 Reviewed-by: Mikko Perttunen diff --git a/drivers/gpu/host1x/Kconfig b/drivers/gpu/host1x/Kconfig index 6dab94adf25e..6815b4db17c1 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.