Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1836744rwn; Fri, 9 Sep 2022 05:01:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR6khOIyuEELzWxeJwPfBPJKi561hc+Bd4vEo6WR9dO5TxY+vwxdZJTBq6trbHIL7T08x5zH X-Received: by 2002:a17:903:2410:b0:171:4bbc:2526 with SMTP id e16-20020a170903241000b001714bbc2526mr13486771plo.62.1662724875536; Fri, 09 Sep 2022 05:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662724875; cv=none; d=google.com; s=arc-20160816; b=VVH4Pre1MIDycHgkoekofFrayQ5FehWQE9nHlIG4GQatO5eO+rTUwXrJI81WNH35WT dhd1mnDa86dTI7EXZiSmzHrmbmeKxowXLPj6+wvymbgySQoPLOC/PM32BQkPoeuw8ClO NI9jULcaXMqe7okTB+HEvCQ2Yu42dicU7dDy7asetuyGrEg0ZcAesj0aiPOTtymrgbAF kcr1/sM/mBf/kwhG9GD7qIiFjm2D98J5iiA01gYbpiqKoZW0wJQcAJXAV8isO8jkg0LT +yMkLD8eJMbfQpJN5dJG6adFKCKoPoVZMyOjmxO+3BwIV/yNhPx3lQmRgXqqQk1EDJJK 9YVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LXzQm0bkBaPwZeSNBeMOWjOCn59C8b81RzqBwYXjmGU=; b=fgpRwY9jGtpkRFQAgr0dHYHr5SwoP2FsbRMTjIOs9dkzgkmYDxRA8H+AhgZp1JR5lL xwewLVSDplHSWCWf2v7woOou8mvjQ6ZidtWt+wiotLnETKGp1cmFZ0hhadB++v4Gfim8 72WIWcUtvSTRdzc71BPD5KKnxwidqpnDRIRathjSwFZYm/FWv3mmUP6pYAZWnfVqVfkh 9MpzsE643GlYvEpVhOYIqkbBadEmloOPI8W6dBz+1UftV4mp/faNZK4kfxxE98xiLBOs omuDQZD/rpjbHYAsT0Lv3pory+4R701E1oEKR7I9x9kKY7KOJ1suTAbLsTU4YZtzlDct IkKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=lj1yKWKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a056a00114200b0053e9c77c6efsi365461pfm.309.2022.09.09.05.00.59; Fri, 09 Sep 2022 05:01:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=lj1yKWKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbiIILno (ORCPT + 99 others); Fri, 9 Sep 2022 07:43:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiIILnd (ORCPT ); Fri, 9 Sep 2022 07:43:33 -0400 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF0D8102D73; Fri, 9 Sep 2022 04:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=LXzQm0bkBaPwZeSNBeMOWjOCn59C8b81RzqBwYXjmGU=; b=lj1yKWKXD7BvKCLovd/INhOavU 46XvE9Kg0dPrzIKZzA+OYipJoMChcxF2YhOSAC4w0lKj7/C63DIxcQBki0Z8ZCNmMRWSPlHnSup/D CyogWmAfF840u3tF1L8UyIFL3g9U18ExQqGTC1F9jURU+IZ7Bze+FZxE7vCxidD5YUOM8q/wmiOID cH7XRzvDhrQXAncvO4TMGJ3YnNRadq8xSpD0Y4oZO6TY7W2sIpACESeHyvMdoxbay867LQLDbUjLB uemhXQSG3O1OAUv8Wh29H54slXwM0CipnNr1Wfy/EYTc3I1KQgt/s5YX/WvzWo1gDpAelj4vkyezg Qd2ooCVw==; Received: from [38.44.74.92] (helo=mail.igalia.com) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1oWcPy-00Dtbf-Le; Fri, 09 Sep 2022 13:43:30 +0200 Date: Fri, 9 Sep 2022 10:43:17 -0100 From: Melissa Wen To: Sudip Mukherjee Cc: Igor Torrente , Melissa Wen , Haneen Mohammed , Rodrigo Siqueira , David Airlie , linux-kernel , dri-devel , linux-next Subject: Re: build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format") Message-ID: <20220909114317.dj3gdjxl7qdyunyr@mail.igalia.com> References: <20220907170451.efhz62nkxybqxtaa@mail.igalia.com> <20220907192250.jfkpwaq54f2h7stf@mail.igalia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ypweinyay3gzzjjz" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ypweinyay3gzzjjz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09/07, Sudip Mukherjee wrote: > On Wed, Sep 7, 2022 at 8:23 PM Melissa Wen wrote: > > > > On 09/07, Sudip Mukherjee wrote: > > > Hi Melissa, > > > > > > On Wed, Sep 7, 2022 at 6:05 PM Melissa Wen wrote: > > > > > > > > On 09/06, Sudip Mukherjee wrote: > > > > > On Tue, Sep 6, 2022 at 4:59 PM Sudip Mukherjee (Codethink) > > > > > wrote: > > > > > > > > > > > > Hi All, > > > > > > > > > > > > The builds of next-20220906 fails for mips, xtensa and arm allm= odconfig. > > > > > > > > > > > > The errors in mips and xtensa are: > > > > > > > > > > > > ERROR: modpost: "__divdi3" [drivers/gpu/drm/vkms/vkms.ko] undef= ined! > > > > > > ERROR: modpost: "__udivdi3" [drivers/gpu/drm/vkms/vkms.ko] unde= fined! > > > > > > > > > > > > The error in arm is: > > > > > > > > > > > > ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/vkms/vkms.k= o] undefined! > > > > > > ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/vkms/vkms.ko= ] undefined! > > > > > > > > > > > > > > > > > > Trying to do a git bisect to find out the offending commit. > > > > > > > > > > git bisect points to 396369d67549 ("drm: vkms: Add support to the > > > > > RGB565 format") > > > > > > > > Hi Sudip, > > > > > > > > Thanks for pointing out this issue. > > > > > > > > I think we can replace the macros that are triggering those compila= tion > > > > error by functions in drm/drm_fixed.h that do the same calculation. > > > > > > > > I checked those errors when building for arm and i386 and the issue= s are > > > > fixed after applying the patch below. I appreciate if you can test. > > > > > > Sorry, could not test as the downloaded mbox is saying patch is > > > corrupted and could not be applied. Can you please attach the patch or > > > maybe send using git send-email. > > > > Sorry, my bad. It's attached. Let me know if goes smoothly. >=20 > Thanks. That was perfect. > And with that I can confirm I don't see the failure on mips and arm. > Not tested on xtensa but should be fixed there also. >=20 > Tested-by: Sudip Mukherjee Thanks for testing it. Melissa >=20 >=20 > --=20 > Regards > Sudip --ypweinyay3gzzjjz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEd8WOo/JViG+Tu+XIwqF3j0dLehwFAmMbJtEACgkQwqF3j0dL ehwegQ//a5RJ9PvEI/E1NHC4ToYElA7cg54THXUqMCIrP9uC3qb3fFdgAAqtzqQS n+gSJNCKtTcq72LjsiiiNLND+XKDa8eYKLiFIYFmZZFmUK7fqB0Ke5/XjcO+SAuv RPDMR/PkR1pAHjS0Od1+NCz0RH9m1ZFQN8ak9rHflLGoSS1L68wtdH37u6EQTV7n atcstBRX9DNc7K0WW2Vi0k5NzJLDcbqSzq/BLxItgJX5YtGwyeQBkzE8TwGpjON9 jMcXhpm3XQlQ7L+kz+9o+hiFdN80iIEeeuuy6MzFFcroBSUcycmBfnrx0zk52Ygc rCWQyf4/E2fDGilTh9WztrGIsPiJFiJ4PbM/2g3khHuychUcUsmli+UG9ejq6+tw GVFs6/Vr+cw/QbdWaYZfrPpTjqTN/ZY+0v9Khn9kCkdPf0xbUQUPH1rGJbOJ/VO6 Uy0n+KhqP8Wpa6HutPP0D+xQEIE4uHwvw31ltEz5SB40vUxerXHOKOia0+9ILB3C TAP/l8Js5j4op6P7Db84f+7/k3nXz45k8AWVipTJD7Xz9f9AUTGckkMSY+CsQ/+f pFv8+UjPxwaqPxAlkVWA2JcBmOfjvzH1ElGr8SU/+XSVr6N0ckKHZYNRNGt5/Qb9 jJPvzCbBDxHoTRRbFbt1TA43lcZxyHz7aBlxqXnbZ9saImHaIZ0= =NCkY -----END PGP SIGNATURE----- --ypweinyay3gzzjjz--