From nobody Mon Feb 9 22:20:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=jablonski.xyz ARC-Seal: i=1; a=rsa-sha256; t=1768531453; cv=none; d=zohomail.com; s=zohoarc; b=ecS2nTU1DkjTqgjWnuzEQCJo2e6SzVifq+vb3xtXXad8LEWg0t4Q1c6hijQIevGP1eoDbgQkG8pxhprfh7ascgP8eI4JwvdcKn1ZcKjW1zI7yvDt91pgX3SW5ulVzE5b9eTIOWebMAR9WmlwG56IKlwsBOYd4Fyeonniq7CYWkM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768531453; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=MPTvvi/Y+YfuFgg85NWsFyUoSSdQMTrv3ot/dXj9/yw=; b=cmoIIVBqMM13UrzbEY6d88863PasGQCyQg3LvIb4+2FOuLUXFKmq9l96fulsOU2BTYA3xxB8TI076kB1F6ezDw4xFrpqDVmQkKf/lhZ/glb75Kh8N1UKqu7FOB4yyRfxOed9rfXicguhhD6WHmzqRQdmBe4SUO6dvARVwWxDHzQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768531453110161.94878761941538; Thu, 15 Jan 2026 18:44:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vgZoG-0005r6-9c; Thu, 15 Jan 2026 21:43:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vgZnv-0005q1-MC for qemu-devel@nongnu.org; Thu, 15 Jan 2026 21:43:15 -0500 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vgZnu-0002Qd-18 for qemu-devel@nongnu.org; Thu, 15 Jan 2026 21:43:15 -0500 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id A6AB71D00084; Thu, 15 Jan 2026 21:43:11 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Thu, 15 Jan 2026 21:43:11 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Jan 2026 21:43:11 -0500 (EST) Received: from localhost (chomposaur [local]) by chomposaur (OpenSMTPD) with ESMTPA id a0904409; Fri, 16 Jan 2026 02:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jablonski.xyz; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1768531391; x= 1768617791; bh=MPTvvi/Y+YfuFgg85NWsFyUoSSdQMTrv3ot/dXj9/yw=; b=H gQPX/ch+xrJG4CundJGYjwCevVkcck9hhQI0fkTC7Z9nPuAbKACm4j2KnIX1wIST YnTIyAip8jf3OVuFu08p7aCLKj4lDsEqVdgxZICeWdRM+KBP8J0WXY4/fW/7UZ4P hD3Ff9nND8EIzwSbRE5+ObCnLh/VW2TfdyKc0dihBGsDrLRCc4pRAZZQLEpjjE32 ZtAhlK9fEuu66CZc7aheM4w3aeOkS0khBFZcuQ0Qq2jcP29uRzGCCuoqcewSC3Cz cVaK5VT2hVs8Its0vCQKrdb7AGbC2XAaNzP4dfDhI9CNAQE+6M9r/AdKySXdheS+ OQQvvhqS6awhDBnA0HZmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1768531391; x=1768617791; bh=M PTvvi/Y+YfuFgg85NWsFyUoSSdQMTrv3ot/dXj9/yw=; b=UsrC1pKZGiC+2b5TS 8MBl13nAjryt4LLwyiOBiEg5JurqjSnH0h0ZKe3ozw2wofmbOfGrm2GNeYAswL7s bQK0Cicv2DhYEYSlSyymzRMBBWoZj0W/WZwtfGpmZVdeg5eL7kpxl8bHm2vJLBZT QqP1DjvcOayGB81KJ2aYuUV0TWCF62FlYhvkc3XmYGlsD+OlK67VYvkM8etG+rXZ 21DAB4CGcAA2+OOe4gyVx15QoUeZyByKUxGVzishzspcXybvcdQxhJgzmHAQoiuQ +6J9o36BwT5QqbOQfJymNAORHLzMIAGVyi9pioLrXqehOzEdkHCB/NrQcYKy3iNv 9EftA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduvdejjeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpefhvfevuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeevhhgrugculfgrsghlohhnshhk ihcuoegthhgrugesjhgrsghlohhnshhkihdrgiihiieqnecuggftrfgrthhtvghrnhepgf eiteejhfelheefieetjefgleejfffhueffvdduieejgfeuueeuvddvkeejhfelnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghhrggusehjrg gslhhonhhskhhirdighiiipdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopegsrghlrghtohhnsegvihhkrdgsmhgvrdhhuhdprhgtphhtthhope gthhgrugesjhgrsghlohhnshhkihdrgiihiidprhgtphhtthhopehqvghmuhdquggvvhgv lhesnhhonhhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: ib26944c1:Fastmail From: Chad Jablonski To: qemu-devel@nongnu.org Cc: balaton@eik.bme.hu, Chad Jablonski Subject: [PATCH v5 04/12] ati-vga: Implement foreground and background color register writes Date: Thu, 15 Jan 2026 21:42:50 -0500 Message-ID: <20260116024258.1487173-5-chad@jablonski.xyz> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260116024258.1487173-1-chad@jablonski.xyz> References: <20260116024258.1487173-1-chad@jablonski.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=202.12.124.151; envelope-from=chad@jablonski.xyz; helo=fout-b8-smtp.messagingengine.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @jablonski.xyz) X-ZM-MESSAGEID: 1768531455697158500 Content-Type: text/plain; charset="utf-8" These are straightforward 32-bit register write handlers. They're necessary for a future patch which will use them for color expansion from monochrome host data transfers. Signed-off-by: Chad Jablonski Reviewed-by: BALATON Zoltan --- hw/display/ati.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/display/ati.c b/hw/display/ati.c index bd48b0db49..968ee4efca 100644 --- a/hw/display/ati.c +++ b/hw/display/ati.c @@ -931,6 +931,12 @@ static void ati_mm_write(void *opaque, hwaddr addr, case DP_CNTL: s->regs.dp_cntl =3D data; break; + case DP_SRC_FRGD_CLR: + s->regs.dp_src_frgd_clr =3D data; + break; + case DP_SRC_BKGD_CLR: + s->regs.dp_src_bkgd_clr =3D data; + break; case DP_DATATYPE: s->regs.dp_datatype =3D data & 0xe0070f0f; break; --=20 2.51.2