From patchwork Thu Sep 10 09:52:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Palcu X-Patchwork-Id: 11767301 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38F2D698 for ; Thu, 10 Sep 2020 09:54:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA54620829 for ; Thu, 10 Sep 2020 09:54:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ggbJSiTs"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="K1pNt111" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA54620829 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EVv0VrQe2sI0qU8xrUF1FtCLOY9v7Msq+eIqra42/ZY=; b=ggbJSiTs0fFa3HKm4sSpqA7gvl XGQcQsmcz3E87hu30nfmSGpxNG4ZNmn2oW90wX57Fv+TE8tTLSF8n2RyzT+EJEq4iMkJ38PRcMZQh HAaKd/sAHnCxy771CYSUaI4gCBn/4gibuKlgnDOW5jAMg3mHdXWeZlR2ZqS+5jVoiDlk2WdxbFuRL mDQIiqJsumCGYPk4w2mmko9T/CR708hDA4NcFG8OmlGa+Eh/fdvUep6/2/W6cYbk+VmBhNFTEMmnX MjOjZT002tJoQ2+ZgIP0XdwbwETGnsY0G9Bqhp12WVMctEHuaQYp8pH43V/Yg72F8kTwKqlUpy7Rt plnilToA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGJGX-0003Y2-4f; Thu, 10 Sep 2020 09:53:17 +0000 Received: from mail-am6eur05on2073.outbound.protection.outlook.com ([40.107.22.73] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGJGU-0003Wb-5F for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 09:53:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EzE9DSqWlOhG8byWPawXOFbS97DfbH5zdeJ48ezME74GB56PXz96E+CQVapQcQLRH675B8z2yZm3t4ALwDvab4Ryyc2LNEUtX4tvg7jL/NfUFMQfhMLI64O0TPykvEPEmRUcBWN6cyeNtDKF0gbU0Qy2el7ydSXZrICs8IqumKntUi8DP+Aam5l/AVcKKXPBtWplONG04P6gUxYEk/cIfYJnplaLpTjROtB7GVPY2zBmn9cNHr+Acql3Ny4smpjJzD0kqrLs43VNscWvcxjL+b4m5Rf9fvdqok7SYRDrAInsDKsbQwKycEXtECZFGRuxr8CmPvOHHp2zdZM01uuMtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ha1EMLVI9HUpx1K4c7dBqLXXT+yXsjCxmxAdl5/LyqM=; b=EEkm9l3CvIOk7BImLHRmVjAe8wyyIY9i3DTCtutHm6tau/nMQUnZRLRXfa5PrVcT+5U0mOFF3YwUMQeXbijW5FX+ECNkHPd/u5TWxLr4ovbkHOJxyFi0Zu870FnrWzeDyurSD7x1naGSJ3IL1/NMk/5ibXtdsyA0aAbCBcFsVNUJIBhQv89CHcv/Q9I6pnsUNGxAcCIjV2e7exHoypKZIJVNOdKoe9dbSCuSOrR2rKhrpKRXGfrcYTVE+Uqnx1FE0jEvFiMkD6+edH0LDJa4LNWxLN7kM4f2FW2xLZlDgzBh8wYhbEv3o/wmGWSooL+AQWG6eP3CdJzKOduEl3bTCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ha1EMLVI9HUpx1K4c7dBqLXXT+yXsjCxmxAdl5/LyqM=; b=K1pNt111nehrjClCOiEdA3Xet9lv6hVJ2d9B/aR4u9XoABalaSz9ctfVmAIj7cAovIQ22HlBlenvnbOCedzK2FDqQFIuTgu9dRgd1DOLtsCexHdK8F18U4WuOyCsMG6A3EmgEZdadHvNUjT0wZX9a5Z6Knuy/YuitBnmq9aehs8= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none; pengutronix.de; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR0402MB3902.eurprd04.prod.outlook.com (2603:10a6:803:22::27) by VI1PR04MB6031.eurprd04.prod.outlook.com (2603:10a6:803:102::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Thu, 10 Sep 2020 09:53:10 +0000 Received: from VI1PR0402MB3902.eurprd04.prod.outlook.com ([fe80::5d66:84a7:26de:67c3]) by VI1PR0402MB3902.eurprd04.prod.outlook.com ([fe80::5d66:84a7:26de:67c3%6]) with mapi id 15.20.3370.016; Thu, 10 Sep 2020 09:53:10 +0000 From: Laurentiu Palcu To: Lucas Stach , Philipp Zabel , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH] drm/imx/dcss: fix compilation issue on 32bit Date: Thu, 10 Sep 2020 12:52:50 +0300 Message-Id: <20200910095250.7663-1-laurentiu.palcu@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: AM0PR01CA0076.eurprd01.prod.exchangelabs.com (2603:10a6:208:10e::17) To VI1PR0402MB3902.eurprd04.prod.outlook.com (2603:10a6:803:22::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fsr-ub1864-141.ea.freescale.net (83.217.231.2) by AM0PR01CA0076.eurprd01.prod.exchangelabs.com (2603:10a6:208:10e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Thu, 10 Sep 2020 09:53:08 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [83.217.231.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4923d17d-d612-458d-9535-08d8556f533d X-MS-TrafficTypeDiagnostic: VI1PR04MB6031: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nBbiFZ4DH06NS3uJS21pmv6jUQj+h5SsRF7Nc+ubrDvRLcEI2wfQ9EehuYP2EFeIpp1F1bcsZS/Bvk06mzZwbkfVWMzQ6dYJKJV/zdFyk7Uthmj6zGaAH4GRdLmLygMhCBNRqyhoo1vrPu+w0YdyIYJhlJ7rbeceqoFmsmj1QVztLyqqveUXB/9QzjGjTkrapSAwP+5d2NfUjUhBvuZb1BWEWws0Z4T7kn1p4lf1cNwKCAOamcNteF9d6yusqVOEltY6MUsqJGxb+Nv2gALV6+v2ozXo6nwPxP3qUwcWIwyEiTxTIjtW6JUA7eKrZ1sYLjFYEGaJ+WsyXnlma2xDdA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3902.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(366004)(396003)(346002)(136003)(2616005)(8676002)(956004)(66476007)(66556008)(66946007)(44832011)(16526019)(5660300002)(4326008)(110136005)(6666004)(6506007)(83380400001)(26005)(6486002)(8936002)(86362001)(2906002)(7416002)(316002)(478600001)(186003)(6512007)(52116002)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: bTQdx7EHNjPd6mb1lZiKIpLQKH+xmBVcCxRZKKivGiWS5xTExrtuWoNPuISAheTk9ZdExyQpTzg28lUU3aOx8TTh74ndisuxqOoFT4lSvERk6CfmLRfXIsVr/WVgw1pJ3sBR6bkest4AS3ScmG+OoCiBgx2UYNqtz9hqXq7icBxj243tyT/GudJGykeKUi1+9aMAPP5037Z5KskQGYAYYoCV7eGnSsZ1zWJ12jFxyliXPoze6m4eKIfhB+A0SsQnSDDmaf4EUmKjE1JA7F0eg8H++0NIA8bocuGAHbLVfOVEQtm+torx30ehGyNXdG4lx60cWWOdBlhkP4vjc3AzEZ+vBnySeJobEPgkcwPYocE67M6WqNnpGX9+s/N+QQ60ifMXLEThVJCXYARqvjwuH/hNOYQnv03GHsYqthLw1KhLQ6f7vd5GPZCDz4XlSxZPZUWnRXtGWAghX44SVSIvwHpuyPmTi5aTyNF8Q7xj49Pxe7qzPAUKxyOfrFPPwO6SGSOgwQn8W7372nzrAB0PZ/sqHQpeOFkYa/+qHc1OpLwmGEAlCn4ERrV09SsLav3vMyeeOehQCrN+HPVcPEThjqUP12Fz+nlP8BcRS8Gj+Nk1pst4EyTIIJb6Bzz0mkODkZesybcwF5XJMZ7CGbrF2Q== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4923d17d-d612-458d-9535-08d8556f533d X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3902.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2020 09:53:10.1709 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TPCvlchW/zYgdYZUY2Dn8kQ6T5qst/nR3IqAZBpD1DnU2p1MZ5J15Vp2ocpM3tuasWCbBRm27zxHBK5zoBmkkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6031 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_055314_218980_C7B948FA X-CRM114-Status: GOOD ( 15.34 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.22.73 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.22.73 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, laurentiu.palcu@oss.nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org When compiling for 32bit platforms, the compilation fails with: ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/imx/dcss/imx-dcss.ko] undefined! This patch adds a dependency on ARM64 since no 32bit SoCs have DCSS, so far. Signed-off-by: Laurentiu Palcu Reported-by: Daniel Vetter Reviewed-by: Daniel Vetter --- drivers/gpu/drm/imx/dcss/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dcss/Kconfig b/drivers/gpu/drm/imx/dcss/Kconfig index 69860de8861f..2b17a964ff05 100644 --- a/drivers/gpu/drm/imx/dcss/Kconfig +++ b/drivers/gpu/drm/imx/dcss/Kconfig @@ -3,7 +3,7 @@ config DRM_IMX_DCSS select IMX_IRQSTEER select DRM_KMS_CMA_HELPER select VIDEOMODE_HELPERS - depends on DRM && ARCH_MXC + depends on DRM && ARCH_MXC && ARM64 help Choose this if you have a NXP i.MX8MQ based system and want to use the Display Controller Subsystem. This option enables DCSS support.