From patchwork Tue Jun 26 21:18:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 935112 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=eik.bme.hu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Fg6j4c0Nz9rx7 for ; Wed, 27 Jun 2018 08:03:57 +1000 (AEST) Received: from localhost ([::1]:55584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXw43-0005mu-8p for incoming@patchwork.ozlabs.org; Tue, 26 Jun 2018 18:03:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXw3E-0005kV-G2 for qemu-devel@nongnu.org; Tue, 26 Jun 2018 18:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXw3B-0003zK-Qk for qemu-devel@nongnu.org; Tue, 26 Jun 2018 18:03:04 -0400 Received: from zero.eik.bme.hu ([152.66.115.2]:30077) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXw3B-0003yw-Ig for qemu-devel@nongnu.org; Tue, 26 Jun 2018 18:03:01 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 5D9F57456B7; Wed, 27 Jun 2018 00:03:00 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 3997374569D; Wed, 27 Jun 2018 00:03:00 +0200 (CEST) Message-Id: From: BALATON Zoltan Date: Tue, 26 Jun 2018 23:18:20 +0200 Date: Tue, 26 Jun 2018 23:18:20 +0200 To: qemu-devel@nongnu.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 152.66.115.2 Subject: [Qemu-devel] [PATCH v2 0/7] Misc sm501 improvements X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Sebastian Bauer , Magnus Damm , Philippe Mathieu-Daude , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Version 2 of the sm501 changes with fixes that are needed to get AmigaOS 4.1FE to boot and able to produce graphics. The strange blue-white colors that first appear are actually correct and because of AmigaOS selecting a low resolution PAL mode by default instead of a board specific mode. To work around this one can select the last option to boot the live CD and then select a better board specific mode from ScreenMode Prefs. It takes a while for the ScreenMode window to appear and graphics operations are slow which could use some improvement but at least it seems to work correctly now apart from some unimplemented drawing modes for compositing. If this could be merged before the freeze with the sam460ex patches and Sebastian's ehci patch then QEMU 3.0 could be the first version that can boot AmigaOS. BALATON Zoltan (3): sm501: Implement i2c part for reading monitor EDID sm501: Fix support for non-zero frame buffer start address sm501: Set updated region dirty after 2D operation Sebastian Bauer (4): sm501: Perform a full update after palette change sm501: Use values from the pitch register for 2D operations sm501: Implement negated destination raster operation mode sm501: Log unimplemented raster operation modes default-configs/ppc-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 2 + default-configs/sh4eb-softmmu.mak | 2 + hw/display/sm501.c | 229 +++++++++++++++++++++++++++++++++++-- 5 files changed, 223 insertions(+), 12 deletions(-)