Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C7CD01A9213 for ; Tue, 7 Jul 2020 02:33:56 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 2C25284D66; Tue, 7 Jul 2020 02:33:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A266784D64 for ; Tue, 7 Jul 2020 02:33:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ueyqjc0idylE for ; Tue, 7 Jul 2020 02:33:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3395684CE0 for ; Tue, 7 Jul 2020 02:33:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 267FAFB28; Tue, 7 Jul 2020 02:33:55 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 7 Jul 2020 02:33:55 +0000 From: "Rin Okuyama" Subject: CVS commit: src/sys/arch To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200707023355.267FAFB28@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Rin Okuyama" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rin Date: Tue Jul 7 02:33:55 UTC 2020 Modified Files: src/sys/arch/macppc/include: autoconf.h src/sys/arch/macppc/macppc: machdep.c src/sys/arch/ofppc/include: autoconf.h src/sys/arch/powerpc/oea: ofw_rascons.c ofwoea_machdep.c Log Message: It turned out that using some Open Firmware routines causes the system freeze after calling OF_quiesce(). This is why setting color palette crash the system for some Power Mac G5 models, like PowerMac11,2. Therefore, stop using color-palette and backlight callbacks for genfb(4) in this case. Also, postpone OF_quiesce() after rascons_init_rasops(), and initialize color palette there if OF is going to be quiesced and color depth is 8. Now, color palette for wscons is initialized correctly for PowerMac11,2. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/macppc/include/autoconf.h cvs rdiff -u -r1.169 -r1.170 src/sys/arch/macppc/macppc/machdep.c cvs rdiff -u -r1.16 -r1.17 src/sys/arch/ofppc/include/autoconf.h cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_rascons.c cvs rdiff -u -r1.49 -r1.50 src/sys/arch/powerpc/oea/ofwoea_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.