From patchwork Wed Mar 6 20:05:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1052506 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=209.51.188.17; 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 [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44F4jt4KD2z9s3q for ; Thu, 7 Mar 2019 07:14:42 +1100 (AEDT) Received: from localhost ([127.0.0.1]:39010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1cw3-0007tm-UC for incoming@patchwork.ozlabs.org; Wed, 06 Mar 2019 15:14:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1cvW-0007qr-PW for qemu-devel@nongnu.org; Wed, 06 Mar 2019 15:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1cvT-00073U-Vg for qemu-devel@nongnu.org; Wed, 06 Mar 2019 15:14:04 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]:49135) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1cvR-000708-Vo for qemu-devel@nongnu.org; Wed, 06 Mar 2019 15:14:03 -0500 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 27490747DEA; Wed, 6 Mar 2019 21:14:00 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 0B3B8746612; Wed, 6 Mar 2019 21:14:00 +0100 (CET) Message-Id: From: BALATON Zoltan Date: Wed, 6 Mar 2019 21:05:40 +0100 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 v5-resend 0/2] Basic ATI VGA emulation 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 , Mark Cave-Ayland , Gerd Hoffmann , Aleksandar Markovic , philmd@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hello, This is the latest version of the ati-vga patch, now also including the mips_fulong2e patch in a series so both can be merged together via the UI tree as agreed before to avoid needing to sync two maintainers. That's probably all I can do before the freeze but the rest can be considered bugfixes (or given that there's nothing to regress from yet anything can be considered bugfix at this stage) so we may have some more chance to improve it before the release if it's merged now. At least Linux console and fulong2e PMON firmware should work but I wasn't able to completely find out how 2D accel should work so it still gives some garbled output for guests using it but I won't have time to figure this out before the freeze. I could take some help in this from someone knowing this hardware and pixman better than me. (Pixman not having any documentation does not help.) Please let me know if there's anything that needs to be fixed for it to be merged now. I can probably make another version before the freeze with those changes but not much more at the moment. Regards, BALATON Zoltan BALATON Zoltan (2): hw/display: Add basic ATI VGA emulation mips_fulong2e: Add on-board graphics chip default-configs/pci.mak | 1 + hw/display/Makefile.objs | 2 + hw/display/ati.c | 786 +++++++++++++++++++++++++++++++++++++++++++++++ hw/display/ati_2d.c | 167 ++++++++++ hw/display/ati_dbg.c | 259 ++++++++++++++++ hw/display/ati_int.h | 93 ++++++ hw/display/ati_regs.h | 461 +++++++++++++++++++++++++++ hw/display/trace-events | 4 + hw/mips/mips_fulong2e.c | 6 + vl.c | 1 + 10 files changed, 1780 insertions(+) create mode 100644 hw/display/ati.c create mode 100644 hw/display/ati_2d.c create mode 100644 hw/display/ati_dbg.c create mode 100644 hw/display/ati_int.h create mode 100644 hw/display/ati_regs.h