From nobody Tue Feb 10 11:16:08 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=1762141044; cv=none; d=zohomail.com; s=zohoarc; b=iwlrCWM8w4MNKdOTu85vAZG09xzgSCN8bS4mAe+CohdJSKFYf5udITzp1JMr7A/uyw6tAQZx/4EbokWW314FlSN8+zNx3LKzuqqh3Dy+iec6f66YiKGmZSVSMQh9hCX14q27mXXSduGJdxpPOIyQSZQ3Vb321zblYCLbmfV+iC8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1762141044; 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=Qp4IVbmKfSgtZtD+5ckCm3MWYAYmz+gEAZuguXtKgnI=; b=JgnIG8U2u21yBjwslNveF/z96BvaVpS20y8k7L1gyrspJfu2rVq+ZCPEWKI6ROS+74rEioccz3BArBidxDHYsHAFBtGQ5hazA9iBCd3ECFMXlvzFzHMu0pYExELazZtJFLly7xMbywtLWZ7YAKB/m9O9HmB2FFpZsZCsu6vxlHY= 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 1762141044907556.6011040459791; Sun, 2 Nov 2025 19:37:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vFlN1-0005jM-7G; Sun, 02 Nov 2025 22:36: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 1vFlMw-0005hI-7x for qemu-devel@nongnu.org; Sun, 02 Nov 2025 22:36:35 -0500 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vFlMq-00080P-Vd for qemu-devel@nongnu.org; Sun, 02 Nov 2025 22:36:32 -0500 Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id 7B244EC023C; Sun, 2 Nov 2025 22:36:27 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Sun, 02 Nov 2025 22:36:27 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Nov 2025 22:36:26 -0500 (EST) Received: from localhost (chomposaur [local]) by chomposaur (OpenSMTPD) with ESMTPA id c430d697; Mon, 3 Nov 2025 03:36:23 +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=fm2; t=1762140987; x= 1762227387; bh=Qp4IVbmKfSgtZtD+5ckCm3MWYAYmz+gEAZuguXtKgnI=; b=T fU1GSGO28PKIVaqaDmSXKGDzZEBuVDb7i1ZhAC9ZiB42/pWKbk9Zix1dNQmGwCLf HMi8kHstodCkWECTEXIJoeXeAXxbXFF0U3afGne6ENgtdnP3w8pXTFJ7Ts5T5rBZ M2nYi/flIccNxOIr4TBbepV8cV4vpO5cBkst7hoPM+xylj7FqfRRtXop3ntZgLmq js9z+DUHkb2DJ50OBP2EeecWfVZ1cQn7xNxseU0d/KWiwigOsZFYZ7iD9Bp3Z4j1 re56o9MdlHQw+p0OWuDUEHYiYzeqCDaqCIUoKo39aqQSIivMuB6Rdkp0XmcVNef8 ZmcUd38LWOJClarT3byhg== 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=fm3; t=1762140987; x=1762227387; bh=Q p4IVbmKfSgtZtD+5ckCm3MWYAYmz+gEAZuguXtKgnI=; b=nASaV90XeRYeCcgtc Gk/MVrAOAuP4tCDKlt6Ke5wnQ+xEUXaNxPbMqNGJCNsidyfW2bqnwew8/SeR4u4W NaD9at/UYr4LCayiiEP+8LitlcyWkoqLC333pPMG8HbDiwGYxlKFoqfJif7n6x3r DWkybOcWCzEOLB5fspEAwHd1+x/uc/H4L35SqQEbyp6uXEB5l+MoyvKcW8o1wOk6 Jgeb3NMrAFsCjGXdKudSDVti38namES+R2PsASPujLL50Xubw5Emd5E0kARsp1Ux ODsZ70JOtl6qJpDKYVAnzAxKC4WI64xi2Ga1sU999geADQymrPO2eocYJExyz/OU KqLiw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeejtdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpefhvfevuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeevhhgrugculfgrsghlohhnshhk ihcuoegthhgrugesjhgrsghlohhnshhkihdrgiihiieqnecuggftrfgrthhtvghrnhepgf eiteejhfelheefieetjefgleejfffhueffvdduieejgfeuueeuvddvkeejhfelnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghhrggusehjrg gslhhonhhskhhirdighiiipdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehqvghmuhdquggvvhgvlhesnhhonhhgnhhurdhorhhgpdhrtghpth htoheptghhrggusehjrggslhhonhhskhhirdighiiipdhrtghpthhtohepsggrlhgrthho nhesvghikhdrsghmvgdrhhhu X-ME-Proxy: Feedback-ID: ib26944c1:Fastmail From: Chad Jablonski To: qemu-devel@nongnu.org Cc: balaton@eik.bme.hu, Chad Jablonski Subject: [PATCH v2 4/7] ati-vga: Fix DP_GUI_MASTER_CNTL register mask Date: Sun, 2 Nov 2025 22:36:05 -0500 Message-ID: <20251103033608.120908-5-chad@jablonski.xyz> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251103033608.120908-1-chad@jablonski.xyz> References: <20251103033608.120908-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 client-ip=103.168.172.150; envelope-from=chad@jablonski.xyz; helo=fout-a7-smtp.messagingengine.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.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=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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: 1762141048173154100 Content-Type: text/plain; charset="utf-8" Change the register mask from 0xf800000f to 0xff00000f to preserve bits 24-26. This is the GMC_SRC_SOURCE field which is needed to determine the type of source for the blit operation. Signed-off-by: Chad Jablonski Reviewed-by: BALATON Zoltan --- hw/display/ati.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/ati.c b/hw/display/ati.c index bf7a037e64..4ff17209c4 100644 --- a/hw/display/ati.c +++ b/hw/display/ati.c @@ -867,7 +867,7 @@ static void ati_mm_write(void *opaque, hwaddr addr, ati_2d_blt(s); break; case DP_GUI_MASTER_CNTL: - s->regs.dp_gui_master_cntl =3D data & 0xf800000f; + s->regs.dp_gui_master_cntl =3D data & 0xff00000f; s->regs.dp_datatype =3D (data & 0x0f00) >> 8 | (data & 0x30f0) << = 4 | (data & 0x4000) << 16; s->regs.dp_mix =3D (data & GMC_ROP3_MASK) | (data & 0x7000000) >> = 16; --=20 2.51.0