From patchwork Wed Mar 22 10:39:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_K=C3=B6nig?= X-Patchwork-Id: 13183857 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1E0DC6FD1C for ; Wed, 22 Mar 2023 10:39:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 44BEC10E8F3; Wed, 22 Mar 2023 10:39:21 +0000 (UTC) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7ADAA10E8F3 for ; Wed, 22 Mar 2023 10:39:19 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id m2so16493884wrh.6 for ; Wed, 22 Mar 2023 03:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679481558; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=8XjCFWIdk/OBBpQo2sqZH+I80w/slGKfrFxaeLpLREk=; b=bmH6vs1mHvltqpdQtblKP3eHF3VVXfpgB2k65mnpbHvo7KuztPsa2hpE9zhCy9TIPL HGmU0Ah4in5Jx1xNb86e32yCJJ/+E3e8oANuVOvEZ4gOWkV4rbQ54s4qDQuAVcjm2Ruf hC7gUdwE8ooBwWFiwPhTOZPl8zxTTMqQwhWtRmKQ3ETeT6mqqbxlI1SF4qD8mzf1LBQZ WmQU98JmTwbsGbgrEcIDL4LrVzoJhOEC1BKGglroj3HFuo0i8cG/UqQYkvlHT2hucFvX ufv1jOsu100J10Upr6kKU4ADoOVpoYlSmmwhPV1S+vc5BqoQv/4LJ7/90OC+zSB47v14 XYzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679481558; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8XjCFWIdk/OBBpQo2sqZH+I80w/slGKfrFxaeLpLREk=; b=YLFbkynBhymZgSidINxD6AoKzVbJPYMT5sv2cnafCFA/5Vjanf8eOEJ/v8Rq6T4NvH 60c8N8XAPyh4A/yIwtuGhxUsClJBSCRELrpZV13BnyXh37z5qe8aJ6HZcMuRu4lYPPWC zmR8bpy3okIiFuzcp+T8rDfYVqWAy2EGJSA6CIL2Gc5YK+bbq5FI8wZ/xMUYqrFUBJMS 2pDncKX7WQ5NlHDJxxd5inK3mvVRlrNNB5D7BAg7s45ZWctPvftR4t3ek4hbWPtVmtyc q7W5mtAg6Ig6WlA5ZUEvx6aLygxma19RggsDw3o3pUhZp0JdwuEr+nX0R0OeOoCZngot wJfA== X-Gm-Message-State: AO0yUKU8X/6GM2c7Xtjn0XvBMJsQmAl5VHA10yKRoswdcI1XSZDhALV4 vrfTHKtLQ2QFXc1YMcmbNMY= X-Google-Smtp-Source: AK7set//7k+L5Zef0BTWxoz1woyjauoL5xE7hwYCrLZYFH/PgOU0aRx6WwyZhXLrtrob9cU82bLNGw== X-Received: by 2002:adf:ef8c:0:b0:2cf:ef5d:4ee7 with SMTP id d12-20020adfef8c000000b002cfef5d4ee7mr4316704wro.69.1679481557874; Wed, 22 Mar 2023 03:39:17 -0700 (PDT) Received: from able.fritz.box (p5b0ea2e7.dip0.t-ipconnect.de. [91.14.162.231]) by smtp.gmail.com with ESMTPSA id s20-20020a7bc394000000b003ee3e075d1csm4084694wmj.22.2023.03.22.03.39.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 03:39:17 -0700 (PDT) From: " =?utf-8?q?Christian_K=C3=B6nig?= " X-Google-Original-From: =?utf-8?q?Christian_K=C3=B6nig?= To: thierry.reding@gmail.com, jonathanh@nvidia.com, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: [PATCH] drm/tegra: allow compile test on !ARM v2 Date: Wed, 22 Mar 2023 11:39:15 +0100 Message-Id: <20230322103915.376533-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.34.1 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" This compile tests on x86 just perfectly fine. v2: fix missing include complained by kernel test robot Signed-off-by: Christian König CC: Thierry Reding CC: Jonathan Hunter CC: linux-tegra@vger.kernel.org --- drivers/gpu/drm/tegra/Kconfig | 2 +- drivers/gpu/drm/tegra/gem.c | 1 + drivers/gpu/host1x/Kconfig | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig index c36323f1c7e6..56453ca277c2 100644 --- a/drivers/gpu/drm/tegra/Kconfig +++ b/drivers/gpu/drm/tegra/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_TEGRA tristate "NVIDIA Tegra DRM" - depends on ARCH_TEGRA || (ARM && COMPILE_TEST) + depends on ARCH_TEGRA || COMPILE_TEST depends on COMMON_CLK depends on DRM depends on OF diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index bce991a2ccc0..dea38892d6e6 100644 --- a/drivers/gpu/drm/tegra/gem.c +++ b/drivers/gpu/drm/tegra/gem.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/host1x/Kconfig b/drivers/gpu/host1x/Kconfig index 1861a8180d3f..e6c78ae2003a 100644 --- a/drivers/gpu/host1x/Kconfig +++ b/drivers/gpu/host1x/Kconfig @@ -5,7 +5,7 @@ config TEGRA_HOST1X_CONTEXT_BUS config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" - depends on ARCH_TEGRA || (ARM && COMPILE_TEST) + depends on ARCH_TEGRA || COMPILE_TEST select DMA_SHARED_BUFFER select TEGRA_HOST1X_CONTEXT_BUS select IOMMU_IOVA