From patchwork Sat Jul 31 01:39:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412163 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CBE3C4320E for ; Sat, 31 Jul 2021 01:40:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 188EE60F4A for ; Sat, 31 Jul 2021 01:40:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235164AbhGaBkR (ORCPT ); Fri, 30 Jul 2021 21:40:17 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33220 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231335AbhGaBkQ (ORCPT ); Fri, 30 Jul 2021 21:40:16 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 14722BC0; Sat, 31 Jul 2021 03:40:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695609; bh=mK1sC34SkdfPesSr/ljz81ambUX1M83KGmYChMaWyRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pufoELx8ZCqFJsB9hE7XnbQxOidC0Aa4nNfmB2zZil7kvynm4ZtF9JjCKSvdRrkw9 ZZhKDjQFDEzUwkLT2QoNTeeA92VOuai+7rUThdxXV9LvkmWy/9ZCi2iMEltruzyWCz f6S49U3EyJSxaSajFK6Sq5kg9xlC9ZD8gBWDTrio= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 1/9] drm/omap: Use correct printk format specifiers for size_t Date: Sat, 31 Jul 2021 04:39:46 +0300 Message-Id: <20210731013954.11926-2-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The correct format specifier for size_t is %zu. Using %d (or %u) generates a warning on 64-bit platforms. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index 5f1722b040f4..503b5d4bf2c2 100644 --- a/drivers/gpu/drm/omapdrm/dss/dsi.c +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c @@ -2094,7 +2094,7 @@ static int dsi_vc_send_long(struct dsi_data *dsi, int vc, u8 b1, b2, b3, b4; if (dsi->debug_write) - DSSDBG("dsi_vc_send_long, %d bytes\n", msg->tx_len); + DSSDBG("dsi_vc_send_long, %zu bytes\n", msg->tx_len); /* len + header */ if (dsi->vc[vc].tx_fifo_size * 32 * 4 < msg->tx_len + 4) { @@ -2390,7 +2390,7 @@ static int dsi_vc_generic_read(struct omap_dss_device *dssdev, int vc, return 0; err: - DSSERR("%s(vc %d, reqlen %d) failed\n", __func__, vc, msg->tx_len); + DSSERR("%s(vc %d, reqlen %zu) failed\n", __func__, vc, msg->tx_len); return r; } From patchwork Sat Jul 31 01:39:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412161 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4EF2C43216 for ; Sat, 31 Jul 2021 01:40:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8915160F4A for ; Sat, 31 Jul 2021 01:40:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235179AbhGaBkR (ORCPT ); Fri, 30 Jul 2021 21:40:17 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33236 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234568AbhGaBkR (ORCPT ); Fri, 30 Jul 2021 21:40:17 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0BA7FD51; Sat, 31 Jul 2021 03:40:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695610; bh=0ZJHvaI8W/1oEbU5Io9P1NcXxlZDJPRKMCm3FF4wyfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rKViABWsIMsFgDd6A9Q0k2Z/PFJFVDUM739bbzryqz5AZBhiaa7lVwj26WdXGucxF 2t/8ssv8Q5ViQQiHXXHYh277zm3sDe9w/4tKOg7uguxLWgCRJAJ8aPKqQHDq1iRYqu 1oSbPody7K5oTJy0YQ6avEdH5dJYVu4rMAymL5Bw= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 2/9] drm/omap: Cast pointer to integer without generating warning Date: Sat, 31 Jul 2021 04:39:47 +0300 Message-Id: <20210731013954.11926-3-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On 64-bit platforms, the compiler complains that casting a void pointer to an unsigned int loses data. Cast the pointer to a uintptr_t unsigned to fix this. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index f86e20578143..c05d3975cb31 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -572,7 +572,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev) priv->dss->mgr_ops_priv = priv; soc = soc_device_match(omapdrm_soc_devices); - priv->omaprev = soc ? (unsigned int)soc->data : 0; + priv->omaprev = soc ? (uintptr_t)soc->data : 0; priv->wq = alloc_ordered_workqueue("omapdrm", 0); mutex_init(&priv->list_lock); From patchwork Sat Jul 31 01:39:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412169 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF127C19F33 for ; Sat, 31 Jul 2021 01:40:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EA8C600EF for ; Sat, 31 Jul 2021 01:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234568AbhGaBkU (ORCPT ); Fri, 30 Jul 2021 21:40:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235245AbhGaBkT (ORCPT ); Fri, 30 Jul 2021 21:40:19 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87689C06175F; Fri, 30 Jul 2021 18:40:14 -0700 (PDT) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 02763E81; Sat, 31 Jul 2021 03:40:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695611; bh=AYL6GFoeD+crZns3tBIIFsN+kRzv0ihNWl3ak38Yu9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pH/ZGh/kcA87XNIttHFobtNJq/2Ex41Mc8y+gPszSqxQcXIOI8b+QMeZe4qK2VBTd NrvfrkPbpjSYig1YzS7cjCswIfik6JWE9T0rUHcX4ghF2cS/MDovW99DS2CFLZnXuN zITWx36NXvtoc+0vG0VWsJ4zMC1reymVjUvfHLXw= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 3/9] drm/sti: Use correct printk format specifiers for size_t Date: Sat, 31 Jul 2021 04:39:48 +0300 Message-Id: <20210731013954.11926-4-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The correct format specifier for size_t is %zu. Using %d (or %u) generates a warning on 64-bit platforms. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Philippe Cornu --- drivers/gpu/drm/sti/sti_hqvdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index d09b08995b12..3c61ba8b43e0 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -927,12 +927,12 @@ static void sti_hqvdp_start_xp70(struct sti_hqvdp *hqvdp) header = (struct fw_header *)firmware->data; if (firmware->size < sizeof(*header)) { - DRM_ERROR("Invalid firmware size (%d)\n", firmware->size); + DRM_ERROR("Invalid firmware size (%zu)\n", firmware->size); goto out; } if ((sizeof(*header) + header->rd_size + header->wr_size + header->pmem_size + header->dmem_size) != firmware->size) { - DRM_ERROR("Invalid fmw structure (%d+%d+%d+%d+%d != %d)\n", + DRM_ERROR("Invalid fmw structure (%zu+%d+%d+%d+%d != %zu)\n", sizeof(*header), header->rd_size, header->wr_size, header->pmem_size, header->dmem_size, firmware->size); From patchwork Sat Jul 31 01:39:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412165 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53B86C432BE for ; Sat, 31 Jul 2021 01:40:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3ABBD60F4A for ; Sat, 31 Jul 2021 01:40:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235192AbhGaBkT (ORCPT ); Fri, 30 Jul 2021 21:40:19 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33236 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234568AbhGaBkS (ORCPT ); Fri, 30 Jul 2021 21:40:18 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 00076101E; Sat, 31 Jul 2021 03:40:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695612; bh=KIyx+uCB1qljlR/SNtBb+Q8rmQEAc28AsrRRYXDOInY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FHYVVR90u1cmwg5d1rWVJU6a3dKn3ldp8NugbaxfNMUQZ0aUglxTNndwItygLfNiN mwbukPuZ6Y5iRZd1dRodpMctAnbxjjgnu8FVhJS3CjN2GGOERVwQEimDdfz3mm03wC dGhqTQxvNnpbXxYmr3Guo9jz0PBtBmAOHibtHA9o= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 4/9] drm/imx/dcss: Enable COMPILE_TEST on all architectures Date: Sat, 31 Jul 2021 04:39:49 +0300 Message-Id: <20210731013954.11926-5-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, relax the dependency on ARCH_MXC and ARM64 to also enable compilation when COMPILE_TEST is selected. Signed-off-by: Laurent Pinchart --- Changes since v1: - Enable COMPILE_TEST on all architectures --- drivers/gpu/drm/imx/dcss/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dcss/Kconfig b/drivers/gpu/drm/imx/dcss/Kconfig index 2b17a964ff05..451ed05321cc 100644 --- a/drivers/gpu/drm/imx/dcss/Kconfig +++ b/drivers/gpu/drm/imx/dcss/Kconfig @@ -3,7 +3,8 @@ config DRM_IMX_DCSS select IMX_IRQSTEER select DRM_KMS_CMA_HELPER select VIDEOMODE_HELPERS - depends on DRM && ARCH_MXC && ARM64 + depends on DRM + depends on (ARCH_MXC && ARM64) || COMPILE_TEST 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. From patchwork Sat Jul 31 01:39:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412167 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75F1BC43216 for ; Sat, 31 Jul 2021 01:40:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62897600EF for ; Sat, 31 Jul 2021 01:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235249AbhGaBkU (ORCPT ); Fri, 30 Jul 2021 21:40:20 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33236 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234568AbhGaBkT (ORCPT ); Fri, 30 Jul 2021 21:40:19 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E8F29E86; Sat, 31 Jul 2021 03:40:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695613; bh=ejFb9i9s1Bv7qUAsOTKt3+UHHUKD0qZftz7nXpZfH7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=htrMq7NgO2+hD6HI53NdgwjgwKI2KI/2HFmoeIYpWzPlCgTP2Fc2TgO9vjEjWXDP0 OyrPRfcpcvWx8TvCIRj9JCu9FfGHaVr/0MjgHJj2FbAJF1XsTt7ollR/jDpFiYKPmf qNR7Uer0J/Ff3burVFUsajOFIRPawqi6ePoQ7ew8= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 5/9] drm/omap: Enable COMPILE_TEST on all architectures Date: Sat, 31 Jul 2021 04:39:50 +0300 Message-Id: <20210731013954.11926-6-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, relax the dependency on ARCH_OMAP2PLUS or ARCH_MULTIPLATFORM to also enable compilation with COMPILE_TEST. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- Changes since v1: - Enable COMPILE_TEST on all architectures --- drivers/gpu/drm/omapdrm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig index e7281da5bc6a..560d0cdd6156 100644 --- a/drivers/gpu/drm/omapdrm/Kconfig +++ b/drivers/gpu/drm/omapdrm/Kconfig @@ -2,7 +2,7 @@ config DRM_OMAP tristate "OMAP DRM" depends on DRM - depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM + depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM || COMPILE_TEST select OMAP2_DSS select DRM_KMS_HELPER select VIDEOMODE_HELPERS From patchwork Sat Jul 31 01:39:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412171 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A735CC43214 for ; Sat, 31 Jul 2021 01:40:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A11B600EF for ; Sat, 31 Jul 2021 01:40:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235245AbhGaBkV (ORCPT ); Fri, 30 Jul 2021 21:40:21 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33336 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235339AbhGaBkV (ORCPT ); Fri, 30 Jul 2021 21:40:21 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E584A1027; Sat, 31 Jul 2021 03:40:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695614; bh=s8lWldAwCfpDlUn10rnLS7SwtEHK7/qK7+IBJMGKT7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kgbqgtkMYLNT0CEtO/SKVlzzmo4bwVkRUB2Q315oLbqeE1kTMP7krqmCgg8QWfMPo ISDDbIBAaPA5YT4PPIue+Q6IhjRAy9aJv6I2fzg8XEcS1XpYRfqoXVRfPAcQAsytqo i3DucdDDH1vfvWblxSzwmNb+w6aI8iCloQIHkEYo= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 6/9] drm/rcar-du: Enable COMPILE_TEST on all architectures Date: Sat, 31 Jul 2021 04:39:51 +0300 Message-Id: <20210731013954.11926-7-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, support COMPILE_TEST on all architectures by dropping the ARM || ARM64 dependency. The dependency is a no-op when COMPILE_TEST is not selected as ARCH_RENESAS can only be defined for ARM or ARM64. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig index b47e74421e34..bce3a67f14d3 100644 --- a/drivers/gpu/drm/rcar-du/Kconfig +++ b/drivers/gpu/drm/rcar-du/Kconfig @@ -2,7 +2,6 @@ config DRM_RCAR_DU tristate "DRM Support for R-Car Display Unit" depends on DRM && OF - depends on ARM || ARM64 depends on ARCH_RENESAS || COMPILE_TEST imply DRM_RCAR_CMM imply DRM_RCAR_LVDS From patchwork Sat Jul 31 01:39:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412173 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B16FC4338F for ; Sat, 31 Jul 2021 01:40:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7EA0E60F4A for ; Sat, 31 Jul 2021 01:40:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235431AbhGaBkX (ORCPT ); Fri, 30 Jul 2021 21:40:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235339AbhGaBkX (ORCPT ); Fri, 30 Jul 2021 21:40:23 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8051C06175F; Fri, 30 Jul 2021 18:40:17 -0700 (PDT) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DB40B1207; Sat, 31 Jul 2021 03:40:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695615; bh=Q9wrgM3TCwYDCYU7TYyM5sDp7SZaq5GSWOGy7+PHW48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DyZGIq+sfs4Jt8fWdFYtCnkTkKWw5jxgFYbwbARf0X/0neqpHdc9PwZWVEsSeiBnj fVxJIj5Yaxu4UA5+v60ekw/Jeb7yURL2lmz2uRdLVbCsNnIWJZYW0xon8A+xgfZRhn AS8dH1b7YadwZODS5W0J3HLreslhL1Ypgy2y0+WU= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 7/9] drm/sti: Enable COMPILE_TEST on all architectures Date: Sat, 31 Jul 2021 04:39:52 +0300 Message-Id: <20210731013954.11926-8-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, relax the dependency on ARCH_STI or ARCH_MULTIPLATFORM to also enable compilation with COMPILE_TEST. Signed-off-by: Laurent Pinchart --- Changes since v1: - Enable COMPILE_TEST on all architectures --- drivers/gpu/drm/sti/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig index d0cfdd36b38f..4c88785a95a8 100644 --- a/drivers/gpu/drm/sti/Kconfig +++ b/drivers/gpu/drm/sti/Kconfig @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_STI tristate "DRM Support for STMicroelectronics SoC stiH4xx Series" - depends on OF && DRM && (ARCH_STI || ARCH_MULTIPLATFORM) + depends on OF && DRM + depends on ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST select RESET_CONTROLLER select DRM_KMS_HELPER select DRM_GEM_CMA_HELPER From patchwork Sat Jul 31 01:39:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412175 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62D0AC4320E for ; Sat, 31 Jul 2021 01:40:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4F7A460F35 for ; Sat, 31 Jul 2021 01:40:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231440AbhGaBk2 (ORCPT ); Fri, 30 Jul 2021 21:40:28 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33392 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235360AbhGaBkY (ORCPT ); Fri, 30 Jul 2021 21:40:24 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 109FD1242; Sat, 31 Jul 2021 03:40:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695617; bh=v6U1+t1u4gSWPu73aab/v+EKdvJikWjSdfOUBf1iZ+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTK39X+9lHCRhSUzOnbOja1NaQ7x52S2NS0+7nHkMz9ZaXFNkqj29K3yA9OJUC6T0 hlPr71PA9nFIUQKqw7RK9d/BLB2m2EYwRJW0AQwiXWq+zE00bSzuWh/um9qY9NJCle 430f9gobCoYFrqd1y1ywIA/xtLx6r6A3r/3mTeE0= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 8/9] drm/tegra: Enable COMPILE_TEST on all architectures Date: Sat, 31 Jul 2021 04:39:53 +0300 Message-Id: <20210731013954.11926-9-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, support COMPILE_TEST on all architectures. Signed-off-by: Laurent Pinchart --- Changes since v1: - Enable COMPILE_TEST on all architectures --- drivers/gpu/drm/tegra/Kconfig | 2 +- drivers/gpu/host1x/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig index 5043dcaf1cf9..8eef9094d26a 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/host1x/Kconfig b/drivers/gpu/host1x/Kconfig index 6dab94adf25e..977a0ac54e93 100644 --- a/drivers/gpu/host1x/Kconfig +++ b/drivers/gpu/host1x/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" - depends on ARCH_TEGRA || (ARM && COMPILE_TEST) + depends on ARCH_TEGRA || COMPILE_TEST select IOMMU_IOVA help Driver for the NVIDIA Tegra host1x hardware. From patchwork Sat Jul 31 01:39:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12412177 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2254C43216 for ; Sat, 31 Jul 2021 01:40:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BAD8660F4A for ; Sat, 31 Jul 2021 01:40:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235164AbhGaBk2 (ORCPT ); Fri, 30 Jul 2021 21:40:28 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33420 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235443AbhGaBkZ (ORCPT ); Fri, 30 Jul 2021 21:40:25 -0400 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0946D1645; Sat, 31 Jul 2021 03:40:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627695618; bh=0y+4Quf+O+hZM5MLYS2vVE4wRqsEVjn1vFhb1VBhC50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pHaZa88xGQ4z9JYiU+UYRir3HVnwd2YRHRNvVlb6usOeGmQM/luHHd0v6FobCZIUC OiK6pUjB2umkk1iu6sXoid12H7jJsdCs+M/1HN5voJDI8C8qP7aHjac6IPYUJsEFk+ byH1hSVq+WAEb+eQCUqOuYosejyl6+6igzusP1ms= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Tomi Valkeinen , Sascha Hauer , Jyri Sarha , Jonathan Hunter , linux-renesas-soc@vger.kernel.org, Thierry Reding , linux-imx@nxp.com, Laurentiu Palcu , linux-tegra@vger.kernel.org, Shawn Guo , Alain VOLMAT-SCND-01 , Benjamin Gaignard Subject: [PATCH v2 9/9] drm/tilcdc: Enable COMPILE_TEST on all ARM64 platforms Date: Sat, 31 Jul 2021 04:39:54 +0300 Message-Id: <20210731013954.11926-10-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> References: <20210731013954.11926-1-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org To extend test coverage, support COMPILE_TEST on ARM64 in addition to ARM. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/tilcdc/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/Kconfig b/drivers/gpu/drm/tilcdc/Kconfig index 9f505a149990..37009f4ace9f 100644 --- a/drivers/gpu/drm/tilcdc/Kconfig +++ b/drivers/gpu/drm/tilcdc/Kconfig @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_TILCDC tristate "DRM Support for TI LCDC Display Controller" - depends on DRM && OF && ARM + depends on DRM && OF + depends on ARM || (ARM64 && COMPILE_TEST) select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER select DRM_GEM_CMA_HELPER