Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3629112pxb; Mon, 24 Jan 2022 13:55:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyi8baFgwWYpi3pRPSDuSbueDHZ9/aVnF8W0gy3J9exJKsHQNlrsLW2sJnp4gW8/hWNVoKP X-Received: by 2002:a17:902:db02:b0:14b:5c6d:fc11 with SMTP id m2-20020a170902db0200b0014b5c6dfc11mr4488383plx.143.1643061320237; Mon, 24 Jan 2022 13:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643061320; cv=none; d=google.com; s=arc-20160816; b=pB9PaEU1FLusvdo5qflDUigU8VKDNnk5SRVz3pGZUZnUh3TAguyPn07V+uT9rO95q6 Yi1mzIgS+rjJUSxfnXScgFQ9ifB5u2IgbVEu5uRbd5+tToIBDL5353UFvK5qQDA5pGRA 3TuL4zte1E/jDss/vDh7ulaz28o3BRK1KeWvx99VNCAlO4InGaVY58S3KUO35FXBwY4I oG783v9/u/ydFd9xtRPZKcIizS1IlyuYwKCHyyRhARFBE+KdGnq6Wpsh3vsGet7W9S6O NhsS2nxDw2CXlAxDDUMtZnN5cIUTfSrg/NJoebSqkSyUDRD1jRwWYwUGaPfdFwKcqlRH fs1A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6RJIBzkFvQFngqKRCNModd+XsIpP2jWrsbnAyb3AG5s=; b=AJyw2hmXQqhA2xLQ568DqVUeNtQpVysMBZtPJZF3Yybsm/cYfDSxgtjtpc+bHvxXAo yySHsqHajNqiSgiS4BGwShz49qfpkfj4LOvjBSo+yJ5O6bytsRjaP4ZInCDB6L97xHmt BxPUn5MGC5poURIWhkgb5YZTEM6OTN5Z2uvjl9TvVpBZ4cMJUx0Ph9MTZbMrpU7d8l4w 3xx98ft4mLG+Pm+ss885zn93LJoAbEHRz7Y8C+cn727dGHwa+yLEpbwANAOWK3DrHOIL mvELkrRQaPGJmKh0NvAT9NtKZCjf3UMYTDelAtcyr2vqmxnQcfy1Y+YuBlWyv5Ti1VDE j/dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O44MWlWu; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e15si11830530pgn.856.2022.01.24.13.55.08; Mon, 24 Jan 2022 13:55:20 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=O44MWlWu; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354399AbiAXVnu (ORCPT + 99 others); Mon, 24 Jan 2022 16:43:50 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:58514 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447054AbiAXVJ6 (ORCPT ); Mon, 24 Jan 2022 16:09:58 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D33061320; Mon, 24 Jan 2022 21:09:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E16CC340E5; Mon, 24 Jan 2022 21:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058596; bh=7FuChzgMaV2OYhpaYWC7LUUS8H6TQwy/LwWyEKCH3tY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O44MWlWuHV74b4juXZhE1Q7fAIsdClVH0Y+ZED6T8hPKnIVUAeg8RXnTsfUH0ob9Q 1bs3QCX/v+t3kMx5nV81DmIQHOu7VcZiHGOqSofTZsKMnEkCMJYQPSrfmFeVeEEF81 6XBEEAAH0dJU60E95ZyxQCmj9L0Tf/6UbTCcfaMs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Mikko Perttunen , Thierry Reding , Sasha Levin Subject: [PATCH 5.16 0297/1039] gpu: host1x: select CONFIG_DMA_SHARED_BUFFER Date: Mon, 24 Jan 2022 19:34:46 +0100 Message-Id: <20220124184135.279937254@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ 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 Reviewed-by: Mikko Perttunen Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- 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