From patchwork Wed Jan 30 12:00:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1033459 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=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43qMQm6mJkz9s9h for ; Wed, 30 Jan 2019 23:01:20 +1100 (AEDT) Received: from localhost ([127.0.0.1]:36703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gooYQ-0005G7-Sm for incoming@patchwork.ozlabs.org; Wed, 30 Jan 2019 07:01:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gooXn-0005Fr-89 for qemu-devel@nongnu.org; Wed, 30 Jan 2019 07:00:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gooXb-0000Yg-2o for qemu-devel@nongnu.org; Wed, 30 Jan 2019 07:00:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35126) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gooXS-0000VT-DL for qemu-devel@nongnu.org; Wed, 30 Jan 2019 07:00:20 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1330EC05D3F2; Wed, 30 Jan 2019 12:00:17 +0000 (UTC) Received: from x1w.bcn.redhat.com (unknown [10.32.224.134]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 756BB600D7; Wed, 30 Jan 2019 12:00:07 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Wed, 30 Jan 2019 13:00:01 +0100 Message-Id: <20190130120005.23123-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 30 Jan 2019 12:00:17 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v4 0/4] Milkymist: Allow building on OpenBSD (without SDL) 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: Michael Walle , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Gerd Hoffmann , Brad Smith Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" since v3: - simply move LM32 'display' specific hardware (Gerd) - drop ./configure patch (Gerd) since v2: - move LM32 specific hardware out of common-obj to bypass make rules limitations - use "WARNING" string in configure v1 was too simple to work, so here we go again. I hit a problem with the Milkymist TMU device when disabling SDL, so I fixed it and added another patch in this series which clean a bit the device, but is not required for this series. The important patches are 1-3, and eventually 1-2 could be squashed altogether, although the changes are slighly different. Regards, Phil. v1 https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg05509.html v2 https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg06072.html v3 https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg07482.html Philippe Mathieu-Daudé (4): hw/display: Move Milkymist specific hardware out of common-obj list configure: LM32 Milkymist Texture Mapping Unit (tmu2) also depends of X11 hw/display/milkymist-tmu2: Explicit the dependency to both X11 / OpenGL hw/display/milkymist-tmu2: Move inlined code from header to source MAINTAINERS | 1 + configure | 10 +++++ default-configs/lm32-softmmu.mak | 2 +- hw/display/Makefile.objs | 8 ++-- hw/display/milkymist-tmu2.c | 49 ++++++++++++++++++++++ hw/lm32/milkymist-hw.h | 63 ----------------------------- hw/lm32/milkymist.c | 1 + include/hw/display/milkymist_tmu2.h | 41 +++++++++++++++++++ 8 files changed, 107 insertions(+), 68 deletions(-) create mode 100644 include/hw/display/milkymist_tmu2.h