Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3791800pxb; Mon, 27 Sep 2021 02:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztGwK1dOUXbcnywistuLwXroLCuMozNkWAKzB11JnBZ7sXIVQGkBIjdYI8/pjNQWGac0+7 X-Received: by 2002:a17:90a:af86:: with SMTP id w6mr18915940pjq.8.1632735561583; Mon, 27 Sep 2021 02:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632735561; cv=none; d=google.com; s=arc-20160816; b=mwtDl2ui3mxR7DHyc+w6u0YLiqxtmkkp1BjI7PRdLr4iYXmTgkG1s1MRwpUTFdaU3Q RGxrsrsCQY2gKmEr0HtcS3Sfqi5zlJJZkz5QWptWoiseGRGrJkCIgg9CGJdeaHJze99q bPeCVICJsI1eMEblpcflMKO8D+3Nck1ifnkEYRHQqR50D3WMZ7lC/GQin1ndbF9oBktB kEiQSHjyN/kW12buz2qPtOJ7/y3q4poowjg1ddmDZN4KjdN46o3k/S7E3hUn0jOEL9iR jaDIMHndwBNrfCCzu66v6ZvilRRUTzhMHUWecGjnFBj/hOwyHdmk363ALN3fUqrIL3hi Vo7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X0LGRDzUoRVb9PzueGcUeQF5NC0F0ozyefWuGNN6xZk=; b=Q72q61rZXoPw+dQ6rqfKgsPu8nRzldlSg+RQKyHFXsVIWxA/FGWbalHhDFqQR+Y9hX Epki//FCumy2ID94v/7YNIZy9TTpUHLmqRCx4BJWzZz1V07eHrtDOvCE8bB4JxlptQCT CniTzFwApvYMeAi95Yk86TLvKoXkY4vu/N3oGZQpNFGb45bE5RkPNmQrVKfuxOl8P8SZ GamaVl1NmqY3ZFqiUh+XtQD7lfTIoKz5pw4Gl0tL9UbjcjiQT6/eIKQBTXMDeJaBLtck nvS4mvZ//BAQO8+K/Uj+SmXjk2te/EzEWTq/AzVeuRGkW35IQdFy1+XsogZzXYh3cHyp XZuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SH876qjZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si23272233pls.421.2021.09.27.02.39.09; Mon, 27 Sep 2021 02:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SH876qjZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233695AbhI0Jit (ORCPT + 99 others); Mon, 27 Sep 2021 05:38:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:44746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233587AbhI0Jiq (ORCPT ); Mon, 27 Sep 2021 05:38:46 -0400 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) 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. -- 2.29.2