From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 0EB88C4338F for ; Thu, 29 Jul 2021 06:19:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E415760F02 for ; Thu, 29 Jul 2021 06:19:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234243AbhG2GTi (ORCPT ); Thu, 29 Jul 2021 02:19:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234019AbhG2GTi (ORCPT ); Thu, 29 Jul 2021 02:19:38 -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 B7364C061757; Wed, 28 Jul 2021 23:19:35 -0700 (PDT) Received: from [192.168.1.111] (91-158-153-130.elisa-laajakaista.fi [91.158.153.130]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 99FE33F2; Thu, 29 Jul 2021 08:19:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627539574; bh=0OeBgKosfg+8FwVNiwD4tBPEhozQ5dFm5HTESVBKp0Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EA2Y8H5WO8QAr1Qvn2akReryhly1GdqA/5b5pZ4wfd1EkaRQ6kqQLe46SCWfrLUox 6cyhjnYlpjlVLQoFcUy937Vzr6em6Rwc+UmjnzyDmEjJdN7iNR2ZgyhQAPMBa850eZ 7M1Dz6khBqwSKG3G/1fDUcXhc45boan6YyDfYUO4= Subject: Re: [PATCH 0/7] drm: Extend COMPILE_TEST support to some ARM drivers To: Laurent Pinchart , dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, Laurentiu Palcu , Lucas Stach , Philipp Zabel , Shawn Guo , Sascha Hauer , Fabio Estevam , linux-imx@nxp.com, Thierry Reding , Jonathan Hunter , Jyri Sarha References: <20210728153736.15240-1-laurent.pinchart+renesas@ideasonboard.com> From: Tomi Valkeinen Message-ID: <3b44d00b-62b5-8b68-c3f1-62d7c456b231@ideasonboard.com> Date: Thu, 29 Jul 2021 09:19:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210728153736.15240-1-laurent.pinchart+renesas@ideasonboard.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On 28/07/2021 18:37, Laurent Pinchart wrote: > Hello, > > This patch series stems from subsystem-wide changes I wanted to > compile-test with an ARM64 cross-compiler. My laziness to fire a 32-bit > ARM build probably resulted in more time being spent writing these > patches, but hopefully they'll turn out to be useful for more people :-) > > Patches 1/7 and 2/7 are fixes for compilation warnings on 64-bit > platforms in the omapdrm and sti-drm drivers. They are a dependency for > the Kconfig changes that follow to avoid introducing build warnings, but > could also be merged before. > > Patches 3/7 to 7/7 enable compilation of the imx-dcss, omapdrm, sti-drm, > tegra-drm and tilcdc drivers on ARM64 with COMPILE_TEST. The patches are > independent from each other, so they can be picked by their respective > maintainers. > > We could also extend test compilation to more architecture, but I didn't > want to remove all dependencies on ARM or ARM64 at this point for fear > or triggering build warnings that I wouldn't be able to catch locally. > If there's a consensus that fully relaxing the platform requirement is > better, I can submit a new version that does so and rely on the 0day bot > to catch issues. I would allow compilation for any architecture if COMPILE_TEST is enabled. I think git grep shows that is how COMPILE_TEST is usually used. Tomi From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.2 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 5C559C432BE for ; Thu, 29 Jul 2021 06:19:38 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E41CA60F02 for ; Thu, 29 Jul 2021 06:19:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E41CA60F02 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AD7D6EC88; Thu, 29 Jul 2021 06:19:37 +0000 (UTC) X-Greylist: delayed 372 seconds by postgrey-1.36 at gabe; Thu, 29 Jul 2021 06:19:35 UTC Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DB8A6EC88 for ; Thu, 29 Jul 2021 06:19:35 +0000 (UTC) Received: from [192.168.1.111] (91-158-153-130.elisa-laajakaista.fi [91.158.153.130]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 99FE33F2; Thu, 29 Jul 2021 08:19:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627539574; bh=0OeBgKosfg+8FwVNiwD4tBPEhozQ5dFm5HTESVBKp0Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EA2Y8H5WO8QAr1Qvn2akReryhly1GdqA/5b5pZ4wfd1EkaRQ6kqQLe46SCWfrLUox 6cyhjnYlpjlVLQoFcUy937Vzr6em6Rwc+UmjnzyDmEjJdN7iNR2ZgyhQAPMBa850eZ 7M1Dz6khBqwSKG3G/1fDUcXhc45boan6YyDfYUO4= Subject: Re: [PATCH 0/7] drm: Extend COMPILE_TEST support to some ARM drivers To: Laurent Pinchart , dri-devel@lists.freedesktop.org References: <20210728153736.15240-1-laurent.pinchart+renesas@ideasonboard.com> From: Tomi Valkeinen Message-ID: <3b44d00b-62b5-8b68-c3f1-62d7c456b231@ideasonboard.com> Date: Thu, 29 Jul 2021 09:19:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210728153736.15240-1-laurent.pinchart+renesas@ideasonboard.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: 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 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 28/07/2021 18:37, Laurent Pinchart wrote: > Hello, > > This patch series stems from subsystem-wide changes I wanted to > compile-test with an ARM64 cross-compiler. My laziness to fire a 32-bit > ARM build probably resulted in more time being spent writing these > patches, but hopefully they'll turn out to be useful for more people :-) > > Patches 1/7 and 2/7 are fixes for compilation warnings on 64-bit > platforms in the omapdrm and sti-drm drivers. They are a dependency for > the Kconfig changes that follow to avoid introducing build warnings, but > could also be merged before. > > Patches 3/7 to 7/7 enable compilation of the imx-dcss, omapdrm, sti-drm, > tegra-drm and tilcdc drivers on ARM64 with COMPILE_TEST. The patches are > independent from each other, so they can be picked by their respective > maintainers. > > We could also extend test compilation to more architecture, but I didn't > want to remove all dependencies on ARM or ARM64 at this point for fear > or triggering build warnings that I wouldn't be able to catch locally. > If there's a consensus that fully relaxing the platform requirement is > better, I can submit a new version that does so and rely on the 0day bot > to catch issues. I would allow compilation for any architecture if COMPILE_TEST is enabled. I think git grep shows that is how COMPILE_TEST is usually used. Tomi