From patchwork Wed Jun 22 15:31:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 816 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 379F627BBEA; Wed, 22 Jun 2022 16:33:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D6BBB27BBE9 for ; Wed, 22 Jun 2022 16:33:15 +0100 (BST) Received: from localhost ([::1]:35438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o42Lz-00034m-1u for patchwork@mira.cbaines.net; Wed, 22 Jun 2022 11:33:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o42Lm-00034N-Tk for guix-patches@gnu.org; Wed, 22 Jun 2022 11:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o42Lm-0007nA-Lo for guix-patches@gnu.org; Wed, 22 Jun 2022 11:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o42Lm-0004OM-EJ for guix-patches@gnu.org; Wed, 22 Jun 2022 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56150] [PATCH 0/2][core-updates] gnu: mesa: Update to 22.1.2. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jun 2022 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56150@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.165591193416822 (code B ref -1); Wed, 22 Jun 2022 15:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2022 15:32:14 +0000 Received: from localhost ([127.0.0.1]:36337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o42Kz-0004NF-U9 for submit@debbugs.gnu.org; Wed, 22 Jun 2022 11:32:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:42748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o42Ks-0004N2-Qe for submit@debbugs.gnu.org; Wed, 22 Jun 2022 11:32:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o42Ks-0002uM-KQ for guix-patches@gnu.org; Wed, 22 Jun 2022 11:32:06 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:60520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o42Kp-0007ep-7Y for guix-patches@gnu.org; Wed, 22 Jun 2022 11:32:06 -0400 Date: Wed, 22 Jun 2022 15:31:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1655911920; x=1656171120; bh=H217pn4TR6vxh/GM6qmVUc/mFIi2yPTkJIwCD7jtacc=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=Sq1AgxSjF6/Pq1eej7GNnloyVfS2W60EYzuzfI0NiobNfSwA6de/34MIOHHzcS44T /UOQpQ2y1WeacKGeqOzs2w8WaADnyZEZRBcqNo/Febel5BJgBuFtejKLdZvkEaZjMN WlzD23jSOou5cxvjtsRRdtWAdduk7Z48TiTuah8ec6ekdHAcJV7Bctf80KDSmeG8Yt e+YpBSIY90po9PmDNuvFrBJiPjAb6Amg+ofA9PmTdfJiipIxXUfwI7EwIv2NNeM9UK czp11BBAYZBfAE+3F0Fr70fFylWU8dBpvjVbCo0ygHvyDZACJtiaeyEudv7MbzrHfE RoOkU4rh7NHkw== Message-ID: Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.134; envelope-from=john.kehayias@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias X-getmail-retrieved-from-mailbox: Patches Hi Guix, Incoming are two patches to update Mesa to the latest stable version, 22.1.2 (as of this writing, they move quickly though). The first patch does the update which needed to drop the configure-flag dri-drivers as those have been dropped from Mesa. They do exist on an alternative branch, but should only be for really old hardware, while there are more current drivers that have been in Mesa for years (the Gallium ones). The configure-flag we had set needed to be dropped for Mesa to build. I could also reenable a test on i686 that was disabled due to it failing with an upstream bug (now closed). It is hard to parse all the codenames and hardware, but discussion on IRC leads me to believe this is for probably 10+ year old hardware, while some old hardware is supported by newer drivers like the crocus one. Here is one place to see the announcement and related links: https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired Second patch does a minor clean up to use "auto" where available for gallium-drivers and vulkan-drivers. From parsing the meson build here: https://cgit.freedesktop.org/mesa/mesa/tree/meson.build I tried to make sure that the "auto" setting is available for the listed architecture and that it has at least as many drivers enabled as we had previously. For example, for vulkan-drivers on x86 it also adds the swrast driver. In other cases either "auto" is not listed for the architecture or it has less drivers than what we currently build. One effect is that the crocus and i915 Gallium drivers are built, which I believe is needed to support some Intel hardware with the dri-drivers dropped. (I added my copyright line in the second patch, forgot it in the first.) Note that I tested this builds for x86_64 and i686. I have not tried to run anything with this Mesa nor build on other architectures. Thanks, John