From patchwork Fri Jul 23 09:14:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 484588 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1143714jao; Fri, 23 Jul 2021 02:14:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuNHEAYlFzNlSWOO41k/k0TMCzCm6JaLL8Od7vLbM6D5khPQOLJLau3r/mdOYQfXr78LxJ X-Received: by 2002:a05:6a00:2309:b029:332:5157:e9a6 with SMTP id h9-20020a056a002309b02903325157e9a6mr3470649pfh.78.1627031669953; Fri, 23 Jul 2021 02:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627031669; cv=none; d=google.com; s=arc-20160816; b=O+ZvDLIm7krs8/+QaE00GXZq4A++EtNYTkcuQT2Bqgi34Dnmjx7J1K9dS3Cm9y9M0p LrWPlh5qpHdiTWOiuHrnya01JnZuRmrt8UtpY5TtvKarmDxRooqwKnAprRGxVtZlMW9K CKaoZt9QhyQt/VAPPl+zYDZV2sncUTG1+Z8e+HhO76qE3bA0kKMDm4bCNGztRa2EwxnU 4J/LBiEEVjOSML60TSQN1JzdFOXxahfsiGlXtbqnQb1EgiYM/fQjmwtRf1zPp5UvFUaV LyKWZNvmUHmc1ksWiyXZtqedg/9srfC9fZZMi5VKEqCrLu0cLSbsuYjxiLy0MvK2iXZ0 DcbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=k7syW+/8xWNxABjNnHd2UOb6OVT7zuOtjs0o9zIrdIU=; b=P9roWYVSYgqFPPtVuGZHHFuIgfXy/0O53m5yzhTmaJSMPAbMyqa6aHLz77XdZcwXjj IRGimdrPlFW6Ertzs8j8H0tXJL8quLeb1X7PC8gU9meMa1IF6HX9SycB0AFd3zDBh4qA 6YxhIf1/+gwdHObL9zfKhxz7hUCYrglDW5x9yFp/6RWtQB4njU62aAcNeXLySAi9TwTw luK3oj1gkRwZLueoT/ll3fyudb/waqyyZcnMewDB3MRUdHojO6u/kaXxjAXEuXGFgyoD 4ZqJaA+SPAaCskFNCx4Tbs8T2MjOC47aP0xKnOcV7qDZ1XI/y6mppDey1CuaS5IXBmoG lF8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=QFaL4gXR; 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=fail (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 h11si33548141pjv.94.2021.07.23.02.14.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 02:14:29 -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=fail header.i=@kernel.org header.s=k20201202 header.b=QFaL4gXR; 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=fail (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 291FF6ED98; Fri, 23 Jul 2021 09:14:29 +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 341866ED98 for ; Fri, 23 Jul 2021 09:14:28 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id BA19C60EBD; Fri, 23 Jul 2021 09:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627031668; bh=AxCQ8l9x0B9n1yCKMSUvGByV+fN8rjun1sgxHSyPmHQ=; h=From:To:Cc:Subject:Date:From; b=QFaL4gXRtz+BiDVYCgaJPE9gFpk8Xa0lH3C4YrRju9+YDN4I/7ihiJCpQ5IdA3Pbi 3E0GQC0Y0nfAHxSoEmR2/FD+Zp1yjMJ9S4ZJCYL5ar9mDCYnSZvExQLWBAkl56aD1w NPCpU7+Iv0gAx+jn9BGDhYOEifgK2jHyYVAdQzxdm105GoVk//wAh4ZN0w7ZGiOoUh 32ECSfda1JD4fFX0/ryTJxZC7NUWLjwJ53VpcrFtnIRA4GnUtr5tMJ5NuglQe197VK ofJ2+6LM5h2bbzTFal5f+0EmcCZn2YWPwCKozF6VK8MHwqFcqAwWnWAGZvO+uEns4j cM9mWxBh4+n7Q== From: Arnd Bergmann To: Thierry Reding , Mikko Perttunen Subject: [PATCH] gpu: host1x: select CONFIG_SYNC_FILE Date: Fri, 23 Jul 2021 11:14:19 +0200 Message-Id: <20210723091424.1682193-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: , Cc: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann With the addition of the DMA fence, the host1x driver now fails to build without the sync_file helper: arm-linux-gnueabi-ld: drivers/gpu/host1x/fence.o: in function `host1x_fence_create_fd': fence.c:(.text+0x624): undefined reference to `sync_file_create' Fixes: ad0529424def ("gpu: host1x: Add DMA fence implementation") Signed-off-by: Arnd Bergmann --- drivers/gpu/host1x/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/gpu/host1x/Kconfig b/drivers/gpu/host1x/Kconfig index 6dab94adf25e..6f7ea1720a39 100644 --- a/drivers/gpu/host1x/Kconfig +++ b/drivers/gpu/host1x/Kconfig @@ -3,6 +3,7 @@ config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" depends on ARCH_TEGRA || (ARM && COMPILE_TEST) select IOMMU_IOVA + select SYNC_FILE help Driver for the NVIDIA Tegra host1x hardware.