From patchwork Mon May 13 11:57:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Apfelbaum X-Patchwork-Id: 10940769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B8DE1390 for ; Mon, 13 May 2019 11:59:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DD2126E7B for ; Mon, 13 May 2019 11:59:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31F8227861; Mon, 13 May 2019 11:59:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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 mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DD96726E7B for ; Mon, 13 May 2019 11:59:06 +0000 (UTC) Received: from localhost ([127.0.0.1]:55706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQ9bm-0004g3-3H for patchwork-qemu-devel@patchwork.kernel.org; Mon, 13 May 2019 07:59:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQ9aM-0003Vc-KX for qemu-devel@nongnu.org; Mon, 13 May 2019 07:57:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQ9aL-0001Qi-OZ for qemu-devel@nongnu.org; Mon, 13 May 2019 07:57:38 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:41037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQ9aL-0001Pj-Ig for qemu-devel@nongnu.org; Mon, 13 May 2019 07:57:37 -0400 Received: by mail-wr1-x443.google.com with SMTP id d12so14894531wrm.8 for ; Mon, 13 May 2019 04:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=MoE+JKJdpwVeIACEygP3lal8LOZs4wKZHXNGiScJVqc=; b=CYT+QdapX0uALOxz1H6mzWCfDoWIcibvei1zbGOrF9L3qluHYcyVxNEjfFMEEU6lYG 2dOHGGN7wGj6kAb1XYHhLuwC1azaYSDVdsNenCcteCQ5uZq/LDjx5XFboIWTi8z+6y0k QHk1IHGJprpIOhpTuHg1fx82AwObPNZs/tuItuuEXcTDZoacn1/8JwhblVqPsiPEcHlQ ltpzTXRDdYbFvl2DgMIe/eQLu4hvbNDg9e0NsYb0SounM3clhOyOManhFUNxqL2GBte7 kHjRmLPee9zLT3zKc4//ve33vuv7UPR9I8KWVIEeA3XUz2rpK8XCYHCNLMIeZMpj02jS yEhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MoE+JKJdpwVeIACEygP3lal8LOZs4wKZHXNGiScJVqc=; b=tHlp4Xy2wZ4RmSzrXdpppMm8xEyQjCGqqViU579tahZmaehlkCDo1lEoMf5GrhIjrJ DZjZAYXu8V26qMyxZAJFjgk8QZ81wfu2tkb7RrAPWLbQN0xZM9seSgvQ4D65NRfs+gu8 caZzLpyhie4D26QNhNR2s/S+PqNeKam0lQwW+i1XPFQetV4r8OwXR7IIRwTiGdanYDyD CxqXJYfZQgRzRb86X9O76xvOthxxQ8oKHCpmiwvx2un/X0NCuIvalEL0hIcOWZRbo6ma 4NP2+iK3mvOhVj2XK8snnbekej4IAMBXmDhyE1cCxmrvTS9QQ/RQswrt0cJ0OS0KD1XK ddeg== X-Gm-Message-State: APjAAAV3yrUzu+2qtm+fvOUkLt+2bP1EvROxrgu2V2oWy64+FtPYtqPH XIrsE65aBP/E7QvBIhPyzbVB3mXj X-Google-Smtp-Source: APXvYqxNxqX/1EyDxvdw3CwVchNfkhjCbPWs8fhWzZ8FG7QnVGCc1Sdm8ITRbRwW6FkMPjFbZ0tgsQ== X-Received: by 2002:adf:8184:: with SMTP id 4mr18137139wra.27.1557748654814; Mon, 13 May 2019 04:57:34 -0700 (PDT) Received: from localhost.localdomain ([37.142.144.27]) by smtp.gmail.com with ESMTPSA id z5sm5238554wmi.34.2019.05.13.04.57.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 May 2019 04:57:33 -0700 (PDT) From: Marcel Apfelbaum To: qemu-devel@nongnu.org Date: Mon, 13 May 2019 14:57:28 +0300 Message-Id: <20190513115731.17588-1-marcel.apfelbaum@gmail.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH V3 0/3] ramfb 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: alex.williamson@redhat.com, kraxel@redhat.com, hqm03ster@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Please see the description in each patch. Qiming, thanks for taking the time to upstream your patches! Marcel V2 - V3: - rebase to latest master - send as new series - use QEMU coding conventions - fixed malformed patches (maybe I didn't import them right) Hou Qiming (3): hw/display/ramfb: fix guest memory un-mapping hw/display/ramfb: lock guest resolution after it's set hw/display/ramfb: initialize fw-config space with xres/ yres hw/display/ramfb-standalone.c | 12 ++++- hw/display/ramfb.c | 89 ++++++++++++++++++++++++++++------- hw/vfio/display.c | 4 +- include/hw/display/ramfb.h | 2 +- stubs/ramfb.c | 2 +- 5 files changed, 88 insertions(+), 21 deletions(-)