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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 94A1AEA4E22 for ; Mon, 2 Mar 2026 15:50:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vx5Wd-0002Bl-HO; Mon, 02 Mar 2026 10:49: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 1vx5Wb-0002BK-Ll for qemu-devel@nongnu.org; Mon, 02 Mar 2026 10:49:38 -0500 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vx5WZ-0003H6-0f for qemu-devel@nongnu.org; Mon, 02 Mar 2026 10:49:37 -0500 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id AB7EAEC055C; Mon, 2 Mar 2026 10:49:32 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 02 Mar 2026 10:49:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jablonski.xyz; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1772466572; x=1772552972; bh=cSzixbUqW1BxYabOpRdTX01g9pKxh9ZQ OqSJeiHQsBs=; b=Kp5JcVzERYLMXdWXJ182TcOMLiH42SEaLVai8m1CLYub61y3 F4mswdwqPro2mCn3LnTKdJlnz6jfR07TkulNTuyxO2IPFew/6NadhUr4BEG+XKQ6 w6gEP+YgmqJDDT8xs7xp7kttLRABhysLZe5OJ05KOKiGAk8jlIZBzp5YkHE3jqzG VXi6RzlHXfEWZYPZp0ZHK/l2YNzJvOc9bGIqtfzM7xeQBXJYgQhJuRKNsbSQaMMf BtKWlFTL2KMk6Aa+aPPtBNMwaZZTFAMF/7NMKmPxKbW7KTcTJxswPJthJcQIPCYZ R3gNoUwtyoTJ7PZTrLfTvb8VkMWNjn+cxumJEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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=fm1; t=1772466572; x= 1772552972; bh=cSzixbUqW1BxYabOpRdTX01g9pKxh9ZQOqSJeiHQsBs=; b=2 jpXfaAPUIxW/66k6xQiajhqlP+qDQf/8p7oXXy6rDu+6C81vy8+CoOH6QKIYkhxi uWdTU8mqNXcWR91SI/PGendVRzIUsOOJzGSZ3PFIxeZvvF1bL0O0i34ftPqYtyVe gAFCL4pGeUf3zqagR7LDJ2IeFQk8nxjeRPfpzCxosEeGrLFJqxm9JaKf9Jw4d0m2 lLHqoMJ3trWhsQMUHi64hIHj0BDVmiSbyNDE0Xrq1PLyVP+/1iM9/wq38oveWDwk SVZDOce3mM97otoKa51aoEHAACF5GkUCku+wqqSQx4/VIWI/i3Ib/O7uCBzAaKcs QX/oSytS3H2cnG+zw4PJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvheektdejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpegggfgtfffkvefuhffvofhfjgesthhqredtredt jeenucfhrhhomhepfdevhhgrugculfgrsghlohhnshhkihdfuceotghhrggusehjrggslh honhhskhhirdighiiiqeenucggtffrrghtthgvrhhnpefhfeduffekffehudffteelvdek tedvjeehtdehkeethfehvdeghfehtefhffekgeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegthhgrugesjhgrsghlohhnshhkihdrgiihiidp nhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepqhgvmh huqdguvghvvghlsehnohhnghhnuhdrohhrghdprhgtphhtthhopehmrghrtggrnhgurhgv rdhluhhrvggruhesrhgvughhrghtrdgtohhmpdhrtghpthhtoheptghhrggusehjrggslh honhhskhhirdighiiipdhrtghpthhtohepkhhrrgigvghlsehrvgguhhgrthdrtghomhdp rhgtphhtthhopegsrghlrghtohhnsegvihhkrdgsmhgvrdhhuh X-ME-Proxy: Feedback-ID: ib26944c1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Mar 2026 10:49:31 -0500 (EST) Received: from localhost (chomposaur [local]) by chomposaur (OpenSMTPD) with ESMTPA id 209f4006; Mon, 2 Mar 2026 15:49:30 +0000 (UTC) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 02 Mar 2026 10:49:30 -0500 Message-Id: Cc: , "Gerd Hoffmann" , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= Subject: Re: [PATCH v9 17/18] ati-vga: Implement HOST_DATA register writes From: "Chad Jablonski" To: "BALATON Zoltan" , "Chad Jablonski" X-Mailer: aerc 0.21.0 References: <20260227203944.746471-1-chad@jablonski.xyz> <20260227203944.746471-18-chad@jablonski.xyz> In-Reply-To: Received-SPF: pass client-ip=103.168.172.148; envelope-from=chad@jablonski.xyz; helo=fout-a5-smtp.messagingengine.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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.5, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.968, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.495, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org > > I think these may not be the best constants as you still do a lot of=20 > calculation with them so maybe it could be simplified but I don't know=20 > how. If there's no visible difference in output with normal usage only in= =20 > corned cases that only happened during testing then maybe it's too early= =20 > to try to implement this and we could go back to the previous 128 bit=20 > accumulator unless you found some real world usage where this would=20 > matter. Otherwise I think this would only matter with a concurent 2D=20 > engine where host data writes could continue in the other half of the 256= =20 > bit register while the 2D engine does the operation on the already writte= n=20 > half. So if we get the same graphical result with only storing 128 bits= =20 > for now we could do that and rething this when we can run the 2D engine= =20 > concurrently. > With well-behaved drivers there should be no difference. The only real behavioral difference I've seen is when host_data blits are ended early. I have tests covering this behavior now and it's documented so I have no pr= oblem going back to the 128-bit implementation for now. If we do run into real drivers that depend on this we can always easily resurrect it.