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 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 86661C54EE9 for ; Wed, 7 Sep 2022 18:35:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9C5F310E826; Wed, 7 Sep 2022 18:35:24 +0000 (UTC) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6FBB610E826 for ; Wed, 7 Sep 2022 18:35:21 +0000 (UTC) Received: by mail-yb1-xb2a.google.com with SMTP id 130so22867294ybw.8 for ; Wed, 07 Sep 2022 11:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=STJNUAoDz8/H7GZWo2JC/f9FzlPrG+LEjtWrEMBbtXs=; b=RskBKCOfeFOaMxC6KYoO1H6x+3b5BOgf0WTEukFan66nkQS9frqNBSpq46LtZuBCV4 dK6cNYLtIkbozPkYsjq8blAENOPmRaaWV1SVHk42judEYe6ZQmXQ9be56/fLxl2OmPfu Aw6ca/tM3cGUYfGTctoPHZPqSdeUk5A5+Tncgs8cYb4YDrjXgcvOjoUZkJQA4GQ30Vwl x9Hw2iBs7sgIuHdBr15dVtqthnyn+QXuLBjumdG04Bj5vHWQrEfvMKGhbU6tuhTdBoE+ JOkxbtqalDnWAmyT3CvJzX0EonTumQpI5lnWbBKiqhO5s6W5QwxLtTwGyp5LiIaodCCa GeRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=STJNUAoDz8/H7GZWo2JC/f9FzlPrG+LEjtWrEMBbtXs=; b=hw8LFuoh8pbbIUln3pmN7XiLboo9DthrkKmGIuA/+1ebkrUk48ytNmrOcT+zgIyt2I ScOxRJlnCkAED9JC4rfWa4saKZNC7KwAmao2VjlO1yYq5Vh+ULgrBvsocBqNSRHqyorZ Saf1zNK1nFVbxM1xD5lsjYbDfU6BLInotGUMtgYE+R6a2Kj6UMlpBm9UROd+ydK1ho3J 0Yu7Ist3fWItn7/3sdxM8fHeGI5SgqxyDRbQVhq3GLdxDv4c4Tkm+50siSGKjyY5fekX 3Ay2j02NITttPNBnh1kPxEBG5BDxpJ9jABlIHYrHswmJyN5j6T0ZgGzitcHD519DvfJA U5nQ== X-Gm-Message-State: ACgBeo3PK+rv+g4pjdOcMdt4Zqi+6qru6Vni9Lf3zsoJJ3BGg87CPrgc 5dMVCkzNJQg7dQoLmoT2AwM2uq08KRsGZ5DECKk= X-Google-Smtp-Source: AA6agR4z5iyGc/KnbqOKgxH+QqziQC1XLVqpCtNUnd525QBq6NgFTnEt6ShlgjJeBS1/7kliuF78qGIlm6wja/49KCQ= X-Received: by 2002:a25:dbcb:0:b0:6a8:e19f:9938 with SMTP id g194-20020a25dbcb000000b006a8e19f9938mr4130188ybf.158.1662575720543; Wed, 07 Sep 2022 11:35:20 -0700 (PDT) MIME-Version: 1.0 References: <20220907170451.efhz62nkxybqxtaa@mail.igalia.com> In-Reply-To: <20220907170451.efhz62nkxybqxtaa@mail.igalia.com> From: Sudip Mukherjee Date: Wed, 7 Sep 2022 19:34:44 +0100 Message-ID: Subject: Re: build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format") To: Melissa Wen Content-Type: text/plain; charset="UTF-8" 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: Haneen Mohammed , Rodrigo Siqueira , David Airlie , linux-kernel , dri-devel , Melissa Wen , linux-next , Igor Torrente Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 allmodconfig. > > > > > > The errors in mips and xtensa are: > > > > > > ERROR: modpost: "__divdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > ERROR: modpost: "__udivdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > > The error in arm is: > > > > > > ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/vkms/vkms.ko] 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 compilation > 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 issues 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. -- Regards Sudip